Browse Source

handle vim/python3.3 changes

http://code.google.com/p/vim/issues/detail?id=98
python 3.3 reads the VIRTUAL_ENV variable
raylu 12 years ago
parent
commit
652a02544a
2 changed files with 3 additions and 1 deletions
  1. 1 0
      vim/ftplugin/python.vim
  2. 2 1
      zshrc

+ 1 - 0
vim/ftplugin/python.vim

@@ -0,0 +1 @@
+let b:did_ftplugin = 1

+ 2 - 1
zshrc

@@ -108,7 +108,8 @@ function pdf() {
 export GOPATH=$HOME/go
 export PYTHONSTARTUP=$HOME/.pystartup.py
 
-PATH=$PATH:/sbin:/usr/sbin
+export VIRTUAL_ENV="/home/raylu/env"
+PATH=$VIRTUAL_ENV/bin:$PATH:/sbin:/usr/sbin
 if [ -d $HOME/bin ]; then
 	PATH=$HOME/bin:$PATH
 fi