support for node installed in home dir with nave

This commit is contained in:
Thomas Ruoff
2012-08-01 23:58:57 +02:00
parent 4750dd858f
commit 85c3a92eb4

13
zshrc
View File

@@ -29,4 +29,15 @@ plugins=(git svn debian npm node)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=~/bin:$PATH
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# local node install
NODE_PATH="$HOME/.nave/current"
if [ -d $NODE_PATH ] ; then
PATH="$NODE_PATH/bin:$PATH"
export NODE_PATH
fi