Explorar o código

handle vim/python3.3 changes

http://code.google.com/p/vim/issues/detail?id=98
python 3.3 reads the VIRTUAL_ENV variable
raylu %!s(int64=12) %!d(string=hai) anos
pai
achega
652a02544a
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  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