Update for nvm; maybe working?

This commit is contained in:
Andrew Tomaka 2015-05-12 23:33:11 -04:00
parent f8244f0e3e
commit 45c2553a53

8
zshrc
View file

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