mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 14:37:25 +01:00
support for node installed in home dir with nave
This commit is contained in:
13
zshrc
13
zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user