U6B4KEINSCX7K46ULMCMUQINMAW7CVQKHVV4DF3WDFMZXP6AB6ZQC
5MWKEVHEQ3HTJSMZCS2W67KF3OMD3SIXRQ4QUFXH4ON3YE6SDHKQC
GIN6IMESSGNJPTWJRH62TWSOUGU4MD3RW2DOSYVUS2RCBLHAK7SQC
AJ7GQ5G7CQ3SDNKVSKZGWVD7C673EUGD5V7FHVPH4BM5SI3Z36GAC
NLM7RUDTNDVPJK2JELSMKF7UR435LHIDBU3FEQL5XUJVATTES42QC
NWOVG5T6YWJBCD2RADDZQLJ46TV6OY3DTS5BWEEFHOPSMHD462GAC
RCTW4VQVWMZEYSBORRWDV6OPIE63XTYOWYZUADF37S26CLQSBVBQC
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/Users/edwlan/.rvm/gems/ruby-1.9.2-p180/bin:/Users/edwlan/.rvm/gems/ruby-1.9.2-p180@global/bin:/Users/edwlan/.rvm/rubies/ruby-1.9.2-p180/bin:/Users/edwlan/.rvm/bin:/opt/local/bin:/sbin/usr/sbin:/Users/edwlan/.cabal/bin:/Users/edwlan/bin:/Developer/usr/bin:/Users/edwlan/bin/ImageMagick-6.5.5/bin:/home/edwlan/bin:/usr/local/BerkeleyDB.5.2/bin
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/Users/edwlan/.rvm/gems/ruby-1.9.2-p180/bin:/Users/edwlan/.rvm/gems/ruby-1.9.2-p180@global/bin:/Users/edwlan/.rvm/rubies/ruby-1.9.2-p180/bin:/Users/edwlan/.rvm/bin:/opt/local/bin:/sbin/usr/sbin:/Users/edwlan/.cabal/bin:/Users/edwlan/bin:/Developer/usr/bin
export MAGICK_HOME="/Users/edwlan/bin/ImageMagick-6.5.5"
export PATH="/opt/local/bin:/usr/sbin:/sbin/usr/sbin:/sbin:$HOME/.cabal/bin:$HOME/bin:/Developer/usr/bin:$MAGICK_HOME/bin:$PATH"
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$MAGICK_HOME/lib"
export PATH="/opt/local/bin:/usr/sbin:/sbin/usr/sbin:/sbin:$HOME/.cabal/bin:$HOME/bin:/Developer/usr/bin:$PATH"
export VIMCLOJURE_SERVER_JAR="$HOME/bin/jars/server-2.3.6.jar"
setopt allexport
export PERL_LOCAL_LIB_ROOT="/Users/edwlan/perl5";
export PERL_MB_OPT="--install_base /Users/edwlan/perl5";
export PERL_MM_OPT="INSTALL_BASE=/Users/edwlan/perl5";
export PERL5LIB="/Users/edwlan/perl5/lib/perl5/darwin-thread-multi-2level:/Users/edwlan/perl5/lib/perl5";
export PATH="/Users/edwlan/perl5/bin:$PATH";
export PYTHONPATH=$PYTHONPATH:$HOME/pythonlibs
PASSWD_RIGHT=True
cuauth() {
if [ $PASSWD_RIGHT ]; then
passwd=`security find-internet-password -l "ntsrva.cua.edu" -w`
else
passwd=`prompt_password 69langley`
fi
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 && return
unset PASSWD_RIGHT
}
getshelljobtrees() {
pstree `pgrep '^login$'`
}
psgrep() {
ps auxw | grep --color=yes $* | grep -v grep --color=no
}
echo 'zshrc done'
" IMPORTANT: grep will sometimes skip displaying the file name if you
" search in a singe file. This will confuse Latex-Suite. Set your grep
" program to always generate a file-name.
set grepprg=grep\ -nH\ $*
" OPTIONAL: This enables automatic indentation as you type.
filetype indent on
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='xelatex'
let g:Tex_CompileRule_pdf = 'xelatex -interaction=nonstopmode $*'
call pathogen#infect()
let counter = 0
inoremap <expr> <C-L> ListItem()
inoremap <expr> <C-R> ListReset()
func ListItem()
let g:counter += 1
return g:counter . '. '
endfunc
func ListReset()
let g:counter = 0
return ''
endfunc
let counter = 0
inoremap <expr> <C-L> ListItem()
inoremap <expr> <C-R> ListReset()
func ListItem()
let g:counter += 1
return g:counter
endfunc
func ListReset()
let g:counter = 0
return ''
endfunc
map <F8> o :,!pbpaste
map <F9> o :,!pbpaste
imap <F8> o :,!pbpaste
imap <F9> o :,!pbpaste
let $PAGER=''
let maplocalleader=','
let g:pandoc_no_empty_implicits=1
command! -range FmtTable python FmtTable(<f-line1>,<f-line2>)
python << EOS
def FmtTable(line1,line2):
import vim, string
inputSeparator='|'
outputSeparator="|"
cb=vim.current.buffer.range(int(line1)-1,int(line2))
colLen=[]
# first we collect col lengths and calculate the longest
for line in cb[1:]:
spLine=line.split(inputSeparator)
for i in range(len(spLine)):
try:
if len(spLine[i]) > colLen[i]:
colLen[i] = len(spLine[i])
except IndexError:
colLen.append(len(spLine[i]))
tmpBuf=[]
# Then we fill the cols with spaces
for line in cb[1:]:
spLine=line.split(inputSeparator)
newLine=outputSeparator.join([spElt.ljust(colLen[i]) for i, spElt in enumerate(spLine)]) + outputSeparator
tmpBuf.append(newLine)
cb[1:]=tmpBuf[:]
EOS
let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s %s"
let g:ghc="/usr/bin/ghc"
au BufEnter *.hs compiler ghc
let g:vimclojure#HighlightBuiltins = 1
let g:vimclojure#ParenRainbow = 1
let vimclojure#WantNailgun = 1