From 5229d2c0520660e65ec83318b7be02e1efa10b04 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 13 Oct 2016 17:00:55 +0200 Subject: zshenv: add python specific variable setting --- .zsh/zshenv/80_python | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .zsh/zshenv/80_python 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 +# 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 -- cgit v1.2.3-54-g00ecf