Commits

Adam Gomaa  committed f393cf9

kill prep: update zsh confs

  • Participants
  • Parent commits 27e5faf

Comments (0)

Files changed (2)

 #export EDITOR='vim'
 export PAGER='less'
 export BROWSER='open'
-export PYTHONSTARTUP="$HOME/.pythonrc.py"
-export PYTHONPATH=$HOME/.local/lib/python2.7/site-packages:$DOTROOT/python
+# TODO: make this a path inside libakg
+#export PYTHONSTARTUP="$HOME/.pythonrc.py"
+# TODO: remove this, ~/var/venv/bin/python is on path and is where I
+# should install stuff
+#export PYTHONPATH=$HOME/.local/lib/python2.7/site-packages
 export JAVA_HOME=/usr
 export EC2_HOME="$HOME/.ec2"
-export AWS_CREDENTIALS_FILE=$EC2_HOME/aws-credentials
-eval `wim prettypath clean set`
 
 setopt NO_clobber \
        extended_glob \
 
 # less niceties
 
-export LESS='-iR'
+export LESS='-iRS'
 export LESS_TERMCAP_mb=${fg_bold[red]}
 export LESS_TERMCAP_md=${fg_bold[blue]}
 export LESS_TERMCAP_me=$reset_color
 # Window title
 precmd () { print -Pn "\e]0;%m:\a" }
 
+propy="/home/akg/var/python/environments/propane/bin/python"
+cmd(){ $propy ~/srv/libakg/libakg/cmd.py $@     }
+wim(){ $propy ~/srv/libakg/libakg/cmd.py wim $@ }
+f(){   $propy ~/srv/libakg/libakg/cmd.py f $@   }
+j(){   $propy ~/srv/libakg/libakg/cmd.py j $@   }
+s(){   $propy ~/srv/libakg/libakg/cmd.py s $@   }
+eval `cmd wim ppath clean check set`
+
+
 # Per-session zsh customizations
 if [[ -n "$TMUX_SESSION" && -f ~/.config/zshrc.d/$TMUX_SESSION ]]; then
     . ~/.config/zshrc.d/$TMUX_SESSION
 
 setopt NO_global_rcs
 
-export DOTROOT=$HOME/srv/hg.gomaa.us/dotfiles
 ZDOTDIR="$HOME/.zsh"
 
 if [[ -z "$LANG" ]]
 [[ -d /usr/local/mysql/bin ]] && path=(/usr/local/mysql/bin $path)
 [[ -d /opt/local/bin ]] && path=(/opt/local/bin $path)
 [[ -d /opt/local/sbin ]] && path=(/opt/local/sbin $path)
-[[ -d "$HOME/bin" ]] && path=("$HOME/bin" $path)
-[[ -d "$HOME/.bin" ]] && path=("$HOME/.bin" $path)
+#[[ -d "$HOME/bin" ]] && path=("$HOME/bin" $path)
+#[[ -d "$HOME/.bin" ]] && path=("$HOME/.bin" $path)
+# non-python things here
 [[ -d "$HOME/.local/bin" ]] && path=("$HOME/.local/bin" $path)
+# python things here
+[[ -d "$HOME/var/venv/bin" ]] && path=("$HOME/var/venv/bin" $path)
 [[ -d "$HOME/.cabal/bin" ]] && path=("$HOME/.cabal/bin" $path)
-[[ -d "$DOTROOT/bin" ]] && path=("$DOTROOT/bin" $path)
 [[ -d /usr/X11R6/bin ]] && path=($path /usr/X11R6/bin)
 [[ -d /usr/local/X11R6/bin ]] && path=($path /usr/local/X11R6/bin)