nvm specifically advises against brew install

Issue convincing me to swap was more likely caused by not having grunt-cli
globally installed, but I tried this frist and since homebrew is not advised,
might as well keep it this way
This commit is contained in:
Andrew Tomaka 2015-05-15 00:55:47 -04:00
parent 45c2553a53
commit e5decc0f38

7
zshrc
View file

@ -9,7 +9,7 @@ PATH="$HOME/bin:$PATH"
if [[ "$OSTYPE" == darwin* ]]; then
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
NVM_DIR="$(brew --prefix nvm)"
NVM_DIR="/usr/local/opt/nvm"
else
NVM_DIR="/home/atomaka/.nvm"
fi
@ -69,6 +69,5 @@ if test -d "$HOME/.rbenv/bin" ; then
eval "$(rbenv init -)"
fi
if test -f "$NVM_DIR/nvm.sh"; then
source "$NVM_DIR/nvm.sh"
fi
# load nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"