nvm path for non-mac

This commit is contained in:
Andrew Tomaka 2014-09-22 22:53:53 -04:00
parent 77bc4852ea
commit cc2b55a5e9

4
.zshrc
View file

@ -9,6 +9,9 @@ PATH="$HOME/bin:$PATH"
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH" MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
export NVM_DIR="/Users/atomaka/.nvm"
else
export NVM_DIR="/home/atomaka/.nvm"
fi fi
# add path to newer bins on cse servers (github/rmblair) # add path to newer bins on cse servers (github/rmblair)
@ -62,5 +65,4 @@ if test -d "$HOME/.rbenv/bin" ; then
eval "$(rbenv init -)" eval "$(rbenv init -)"
fi fi
export NVM_DIR="/Users/atomaka/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm