Permalink
Browse files

Adding PYTHONPATH to MacPorts modules.

  • Loading branch information...
otaviof committed Mar 9, 2012
1 parent 741bf47 commit c5680bc2c7de580a5e8004fba64a73aeed651c6c
Showing with 2 additions and 0 deletions.
  1. +2 −0 zshenv
View
2 zshenv
@@ -20,6 +20,8 @@ export SAVEHIST=500000
# TODO: a better way do test if it's my mac or not
if [[ -z "$SSH_CONNECTION" && $_OSTYPE == "darwin" ]]; then
export HOST=$(head -n 5 /etc/hosts |grep '^127' |awk '{print $3}')
+ # python modules from macports
+ export PYTHONPATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/:/opt/local/lib/python/site-packages"
# vim as pager
export PAGER="vimpager"
# avoid build for other archs

0 comments on commit c5680bc

Please sign in to comment.