Permalink
Browse files

run python rc file when it exist

  • Loading branch information...
1 parent 23b3dae commit e51de111013daf82be329ffd95ac11030b76e035 @Superbil committed Apr 18, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 05_python.zsh
View
@@ -9,4 +9,7 @@ export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
# Set pythonbrew
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
-typeset -U PYTHONPATH
+typeset -U PYTHONPATH
+
+# Load python rc on $HOME/.pythonrc
+[[ -s $HOME/.pythonrc ]] && export PYTHONSTARTUP=$HOME/.pythonrc

0 comments on commit e51de11

Please sign in to comment.