L23UAZISXZAOWJTROJGENYD6BCN7F3WTFS6ZUBEIZAOMI4SMGJOQC export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/opt/local/bin:/sbin/usr/sbin:$PATH
setopt allexportsetopt autocdsetopt autolistsetopt autopushdsetopt nobeepsetopt cdablevarssetopt nochaselinkssetopt completeinwordsetopt histexpiredupsfirstsetopt histignorealldupssetopt histverifysetopt listpackedsetopt markdirssetopt nobgnicesetopt promptsubstsetopt pushdignoredupssetopt sharehistory
fiif [[ -e /etc/sysconfig/zsh-prompt-$TERM ]]; then. /etc/sysconfig/zsh-prompt-$TERMelif [[ -e $HOME/.zsh-prompt-$TERM ]]; then. $HOME/.zsh-prompt-$TERMfifor p in $PATH; do_FORTUNE="$PATH/fortune"if [[ -x "$_FORTUNE" ]]; thenFORTUNE="$_FORTUNE"breakfidoneif [ -x "$FORTUNE" ]; then$FORTUNEfifunction battery_charge() {if [[ $LAPTOP[1] == 'y' && $TERM != "xterm" ]]; thenpython "$HOME/bin/batcharge.py" 2>/dev/nullfi}autoload -Uz vcs_infozstyle ':vcs_info:*' actionformats \'%F{5}%f%s%F{5}%F{3}->%F{5}%F{2}%b%F{3}|%F{1}%a%F{5}%f'zstyle ':vcs_info:*' formats \'%F{5}%f%s%F{5}%F{3}->%F{5}%F{2}%b%F{5}%f'zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'zstyle ':vcs_info:*' enable git cvs svnvcs_info_wrapper() {vcs_infoif [ -n "$vcs_info_msg_0_" ]; thenecho "%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"fi}function zle-line-init zle-keymap-select {RPS1="${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"RPS2=$RPS1zle reset-prompt}zle -N zle-line-initzle -N zle-keymap-selectexport PYTHONSTARTUP=$HOME/Library/Python/2.7/site-packages/sitecustomize.pysetopt promptsubstPROMPT='---(%?) %m:%n--%l ${PWD/$HOME/~} `vcs_info_wrapper` `battery_charge`%!:%# 'export PROMPT#RPROMPT='[%T]'HOSTNAME=`hostname -f`PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'cmdtermtitle() {cmd_name="${(V)1}"if [ 'fg' = "${${(z)@}[1]}" ]; thencmd_name="${(vV)jobtexts}"fiif [[ "${TERM%%-*}"x == "screen"x ]]; thenecho -ne "\033]0;${cmd_name}\007"elseecho -ne "\033]0; ${cmd_name} : ${USER}@$HOSTNAME\007"fi}autoload -U add-zsh-hookif [[ $TERM != "linux" && ${TERM%-color} != "eterm" ]]; thenadd-zsh-hook preexec cmdtermtitle
termtitle() {npwd=${PWD/#$HOME/\~}if [[ "${TERM%%-*}"x == "screen"x ]]; thenecho -ne "\033]0;${npwd}\007"elseecho -ne "\033]0;${USER}@$HOSTNAME: ${npwd}\007"fi}if [[ $TERM != "linux" && ${TERM%-color} != "eterm" ]]; thenadd-zsh-hook precmd termtitlefi
export INFOPATH=/usr/local/share/info:/usr/local/texlive/2009/texmf/doc/info
export MANPATH="$HOME/.nix-profile/share/man:/opt/local/share/man:/usr/local/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:$MANPATH"export INFOPATH="$HOME/.nix-profile/share/info:/usr/local/share/info:/usr/local/texlive/2009/texmf/doc/info:$INFOPATH"
export MANPATH="/opt/local/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:$MANPATH"
if [[ $TERM != 'dumb' ]]; then# Solarized dircolors:LS_COLORS='no=00;38;5;244:rs=0:di=00;38;5;33:ln=00;38;5;37:mh=00:pi=48;5;230;38;5;136;01:so=48;5;230;38;5;136;01:do=48;5;230;38;5;136;01:bd=48;5;230;38;5;244;01:cd=48;5;230;38;5;244;01:or=48;5;235;38;5;160:su=48;5;160;38;5;230:sg=48;5;136;38;5;230:ca=30;41:tw=48;5;64;38;5;230:ow=48;5;235;38;5;33:st=48;5;33;38;5;230:ex=00;38;5;64:*.tar=00;38;5;61:*.tgz=00;38;5;61:*.arj=00;38;5;61:*.taz=00;38;5;61:*.lzh=00;38;5;61:*.lzma=00;38;5;61:*.tlz=00;38;5;61:*.txz=00;38;5;61:*.zip=00;38;5;61:*.z=00;38;5;61:*.Z=00;38;5;61:*.dz=00;38;5;61:*.gz=00;38;5;61:*.lz=00;38;5;61:*.xz=00;38;5;61:*.bz2=00;38;5;61:*.bz=00;38;5;61:*.tbz=00;38;5;61:*.tbz2=00;38;5;61:*.tz=00;38;5;61:*.deb=00;38;5;61:*.rpm=00;38;5;61:*.jar=00;38;5;61:*.rar=00;38;5;61:*.ace=00;38;5;61:*.zoo=00;38;5;61:*.cpio=00;38;5;61:*.7z=00;38;5;61:*.rz=00;38;5;61:*.apk=00;38;5;61:*.gem=00;38;5;61:*.jpg=00;38;5;136:*.JPG=00;38;5;136:*.jpeg=00;38;5;136:*.gif=00;38;5;136:*.bmp=00;38;5;136:*.pbm=00;38;5;136:*.pgm=00;38;5;136:*.ppm=00;38;5;136:*.tga=00;38;5;136:*.xbm=00;38;5;136:*.xpm=00;38;5;136:*.tif=00;38;5;136:*.tiff=00;38;5;136:*.png=00;38;5;136:*.PNG=00;38;5;136:*.svg=00;38;5;136:*.svgz=00;38;5;136:*.mng=00;38;5;136:*.pcx=00;38;5;136:*.dl=00;38;5;136:*.xcf=00;38;5;136:*.xwd=00;38;5;136:*.yuv=00;38;5;136:*.cgm=00;38;5;136:*.emf=00;38;5;136:*.eps=00;38;5;136:*.CR2=00;38;5;136:*.ico=00;38;5;136:*.tex=00;38;5;245:*.rdf=00;38;5;245:*.owl=00;38;5;245:*.n3=00;38;5;245:*.ttl=00;38;5;245:*.nt=00;38;5;245:*.torrent=00;38;5;245:*.xml=00;38;5;245:*Makefile=00;38;5;245:*Rakefile=00;38;5;245:*Dockerfile=00;38;5;245:*build.xml=00;38;5;245:*rc=00;38;5;245:*1=00;38;5;245:*.nfo=00;38;5;245:*README=00;38;5;245:*README.txt=00;38;5;245:*readme.txt=00;38;5;245:*.md=00;38;5;245:*README.markdown=00;38;5;245:*.ini=00;38;5;245:*.yml=00;38;5;245:*.cfg=00;38;5;245:*.conf=00;38;5;245:*.c=00;38;5;245:*.cpp=00;38;5;245:*.cc=00;38;5;245:*.sqlite=00;38;5;245:*.go=00;38;5;245:*.log=00;38;5;240:*.bak=00;38;5;240:*.aux=00;38;5;240:*.lof=00;38;5;240:*.lol=00;38;5;240:*.lot=00;38;5;240:*.out=00;38;5;240:*.toc=00;38;5;240:*.bbl=00;38;5;240:*.blg=00;38;5;240:*~=00;38;5;240:*#=00;38;5;240:*.part=00;38;5;240:*.incomplete=00;38;5;240:*.swp=00;38;5;240:*.tmp=00;38;5;240:*.temp=00;38;5;240:*.o=00;38;5;240:*.pyc=00;38;5;240:*.class=00;38;5;240:*.cache=00;38;5;240:*.aac=00;38;5;166:*.au=00;38;5;166:*.flac=00;38;5;166:*.mid=00;38;5;166:*.midi=00;38;5;166:*.mka=00;38;5;166:*.mp3=00;38;5;166:*.mpc=00;38;5;166:*.ogg=00;38;5;166:*.ra=00;38;5;166:*.wav=00;38;5;166:*.m4a=00;38;5;166:*.axa=00;38;5;166:*.oga=00;38;5;166:*.spx=00;38;5;166:*.xspf=00;38;5;166:*.mov=00;38;5;166:*.MOV=00;38;5;166:*.mpg=00;38;5;166:*.mpeg=00;38;5;166:*.m2v=00;38;5;166:*.mkv=00;38;5;166:*.ogm=00;38;5;166:*.mp4=00;38;5;166:*.m4v=00;38;5;166:*.mp4v=00;38;5;166:*.vob=00;38;5;166:*.qt=00;38;5;166:*.nuv=00;38;5;166:*.wmv=00;38;5;166:*.asf=00;38;5;166:*.rm=00;38;5;166:*.rmvb=00;38;5;166:*.flc=00;38;5;166:*.avi=00;38;5;166:*.fli=00;38;5;166:*.flv=00;38;5;166:*.gl=00;38;5;166:*.m2ts=00;38;5;166:*.divx=00;38;5;166:*.webm=00;38;5;166:*.axv=00;38;5;166:*.anx=00;38;5;166:*.ogv=00;38;5;166:*.ogx=00;38;5;166:';export LS_COLORSfisetopt autopushdsetopt cdablevarssetopt AUTO_LISTsetopt LIST_PACKEDsetopt SHARE_HISTORYsetopt HIST_IGNORE_ALL_DUPSsetopt HIST_EXPIRE_DUPS_FIRSTsetopt HIST_VERIFYsetopt noBG_NICEsetopt PUSHD_IGNORE_DUPSsetopt autocdsetopt chaselinkssetopt markdirssource $HOME/git_repos/3dp/nix-zsh-completions/nix.plugin.zshfpath=($HOME/git_repos/3dp/nix-zsh-completions $fpath)# The following lines were added by compinstallzstyle ':completion:*' completer _expand _complete #_match _prefixzstyle ':completion:*' format 'Completing %D %d'zstyle ':completion:*' group-name ''zstyle ':completion:*' insert-unambiguous truezstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%szstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._\ ]=** r:|=**' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._\ ]=** r:|=**' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._\ ]=** r:|=**' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} r:|[-._\ ]=** r:|=**'zstyle ':completion:*' menu select=0zstyle ':completion:*' original falsezstyle ':completion:*' prompt '%e errors:'zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%szstyle ':completion:*' use-compctl falseexport fpath=($HOME/.zsh.d/completion $fpath)autoload -Uz compinitcompinit# End of lines added by compinstall[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
psc() {python -u -c "from __future__ import print_function; import sys;$1"}activate_env() {venv=.if [[ -e bin/activate ]]; thenecho "sourcing local env: `pwd`/bin/activate"elif [[ -e venv/bin/activate ]]; thenecho "sourcing local env: `pwd`/venv/bin/activate"venv=venvelseenv=$1pushd $HOME/python_envs/ > /dev/nullvenv="$PWD/$env"popdif [[ $env == "" ]]; thencounter=1typeset -A choicesunset choicefor x in `ls "$venv"`; doecho $counter\) `basename $x`choices[$counter]=$x(( counter++ ))doneecho -n "your choice? "choice=-1read choiceif [[ $choice == "" ]]; thenreturnfivenv="$venv/$choices[$choice]"echo "you chose $venv"fifisource $venv/bin/activateunset venv env;}alias ae=activate_envnew_virtual_env() {virtualenv -p python$2 --no-site-packages --distribute $HOME/python_envs/$1pushd $HOME/python_envs/$1}alias ne=new_virtual_envge() {cd $VIRTUAL_ENV}messages() {if [[ -d .git ]]; thenecho "Git log messages:"git log -n 5 | egrep --color=yes -Io '(TODO|NOTE|FIXME|BUG|DONE):.*$'fiecho "Messages from files:"egrep --color=yes -IHnro '(TODO|NOTE|FIXME|BUG):.*$' . |psc 'for line in sys.stdin:line = line.strip().split(":", 2)print("%s\n\t%s" % (":".join(line[2:]), ":".join(line[:2])))'}
postdata="buttonClicked=4&err_flag=0&err_msg=&info_flag=0&info_msg=&redirect_url=&username=69langley&password=$passwd"curl https://wirelessauth.cua.edu/login.html -d $postdata 2>&1 | html2ps | ps2ascii && returnunset PASSWD_RIGHT}
export PYTHONPATH="$PYTHONPATH":"$HOME/pythonlibs"
if [[ $BINDKEYS == "" ]]; then
set -o vibindkey -M vicmd '?' history-incremental-search-backwardbindkey '^X^e' edit-command-linebindkey '^I' complete-wordbindkey -M viins '^Oc' _correct_wordbindkey -M viins '^O?' _complete_debug# detecting the terminal to get the keybindings right# TODO: check if obsoleted by other thingsif [[ -z $BINDKEYS ]]; then
bindkey '[1;5D' backward-wordbindkey '[5D' backward-wordbindkey '[1;5C' forward-wordbindkey '[5C' forward-wordbindkey 'OH' beginning-of-linebindkey 'OF' end-of-line
echo foobindkey -M viins '[1;5D' backward-word# bindkey '[5D' backward-wordbindkey -M viins '[1;5C' forward-word# bindkey '[5C' forward-wordbindkey -M viins 'OH' beginning-of-linebindkey -M viins 'OF' end-of-line