From cd419ab867405387d63d93f373345ff1c89df94b Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sun, 26 Jun 2011 15:56:25 -0700 Subject: [PATCH] set PYTHONPATH and NODE_PATH on zsh startup --- zsh/zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index 67e2137..9ceb3aa 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -39,6 +39,14 @@ if [[ -r "$HOME/.pythonrc" ]]; then export PYTHONSTARTUP="$HOME/.pythonrc" fi +if [[ -d /usr/local/lib/python ]]; then + export PYTHONPATH="/usr/local/lib/python" +fi + +if [[ -r /usr/local/lib/node_modules ]]; then + export NODE_PATH="/usr/local/lib/node_modules" +fi + # default editors if mac; then # wtf, you must be kidding, doesn't even work in many cases. really fucking lame!