move node installation into $HOME/local

This commit is contained in:
Thomas Ruoff
2012-10-09 11:59:01 +02:00
parent 54737d39b0
commit 87c0ed5bf4
2 changed files with 2 additions and 1 deletions

1
npmrc Normal file
View File

@@ -0,0 +1 @@
prefix = ~/local

2
zshrc
View File

@@ -36,7 +36,7 @@ if [ -d "$HOME/bin" ] ; then
fi
# local node install
NODE_PATH="$HOME/.nave/current"
NODE_PATH="$HOME/local"
if [ -d $NODE_PATH ] ; then
PATH="$NODE_PATH/bin:$PATH"
export NODE_PATH