Move PYTHONPATH creation to env.* files

This commit is contained in:
Eryn Wells 2012-04-23 15:02:25 -07:00
parent b661804452
commit 9bd3f7bc50
2 changed files with 8 additions and 8 deletions

8
zshenv
View file

@ -23,14 +23,6 @@ export PATH \
[ $SYS = 'linux' ] && export MAIL="/var/mail/$USER"
local py27local=$HOME/.local/lib/python2.7/site-packages
if [[ ! -z $PYTHONPATH ]]; then
[ -d $py27local ] && PYTHONPATH=$py27local:$PYTHONPATH
else
PYTHONPATH=$py27local
fi
export PYTHONPATH
# System specific environment settings
[ -e $HOME/.zshenv.$SYS ] && source $HOME/.zshenv.$SYS
# Local environment settings