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 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"
NVM_DIR="$(brew --prefix nvm)" NVM_DIR="/usr/local/opt/nvm"
else else
NVM_DIR="/home/atomaka/.nvm" NVM_DIR="/home/atomaka/.nvm"
fi fi
@ -69,6 +69,5 @@ if test -d "$HOME/.rbenv/bin" ; then
eval "$(rbenv init -)" eval "$(rbenv init -)"
fi fi
if test -f "$NVM_DIR/nvm.sh"; then # load nvm
source "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
fi