Move some system-specific settings to their corresponding env files

This commit is contained in:
Eryn Wells 2013-08-30 09:21:49 -07:00
parent 076c483a7c
commit c77765dfa2
3 changed files with 20 additions and 22 deletions

View file

@ -1,7 +1,20 @@
# vim: set ft=zsh:
# Eryn Wells <eryn@erynwells.me>
[[ -d "$HOME/Library/Python/2.7/bin" ]]
&& path=("$HOME/Library/Python/2.7/bin" $path)
[[ -d "/usr/local/share/python3" ]] \
&& path+=("/usr/local/share/python3")
&& path+=("/usr/local/share/python3")
export PATH
py27local="$HOME/Library/Python/2.7/lib/python/site-packages"
if [[ -d "$py27local" ]]; then
if [[ ! -z $PYTHONPATH ]]; then
PYTHONPATH=$py27local:$PYTHONPATH
else
PYTHONPATH=$py27local
fi
fi
unset py27local
export PYTHONPATH