diff options
Diffstat (limited to '.zsh/zshenv/80_python')
-rw-r--r-- | .zsh/zshenv/80_python | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.zsh/zshenv/80_python b/.zsh/zshenv/80_python new file mode 100644 index 0000000..f430b78 --- /dev/null +++ b/.zsh/zshenv/80_python @@ -0,0 +1,16 @@ +# zshenv/80_python +# +# Set variables related to Python +# +# Copyright © 2014-2016 Tobias Klauser <tklauser@distanz.ch> +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: git://git.distanz.ch/dotfiles/zsh.git + +_PYTHON_USER=$HOME/.local/lib/python2.7/site-packages +_ZIPYTHON_LATEST=$HOME/tmp/ziPythonLatest/ + +[ -d $_PYTHON_USER ] && export PYTHONPATH=$_PYTHON_USER:$PYTHONPATH +[ -d $_ZIPYTHON_LATEST ] && export PYTHONPATH=$PYTHONPATH:$_ZIPYTHON_LATEST + +# vim:ft=zsh |