diff options
-rw-r--r-- | .zsh/zshenv/80_python | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/.zsh/zshenv/80_python b/.zsh/zshenv/80_python index f430b78..5598fce 100644 --- a/.zsh/zshenv/80_python +++ b/.zsh/zshenv/80_python @@ -7,10 +7,19 @@ # # Source repository: git://git.distanz.ch/dotfiles/zsh.git -_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages -_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/ +#_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages +#[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH -[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH +_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/ [ -d $_ZIPYTHON_LATEST ] && export PYTHONPATH=$PYTHONPATH:$_ZIPYTHON_LATEST +_PYENV_ROOT="$HOME/.pyenv" +[ -d $_PYENV_ROOT ] && export PYENV_ROOT=$_PYENV_ROOT + +path_prepend $PYENV_ROOT/bin + +eval "$(pyenv init -)" + +export PYTHONSTARTUP=$HOME/.pythonrc + # vim:ft=zsh |