Move PYTHONPATH creation to env.* files
This commit is contained in:
parent
b661804452
commit
9bd3f7bc50
2 changed files with 8 additions and 8 deletions
|
@ -6,3 +6,11 @@
|
|||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
export PATH=$HOME/Library/Python/2.7/bin:$PATH
|
||||
|
||||
local py27local=$HOME/Library/Python/2.7/lib/python/site-packages
|
||||
if [[ ! -z $PYTHONPATH ]]; then
|
||||
[ -d $py27local ] && PYTHONPATH=$py27local:$PYTHONPATH
|
||||
else
|
||||
PYTHONPATH=$py27local
|
||||
fi
|
||||
export PYTHONPATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue