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:
parent
45c2553a53
commit
e5decc0f38
1 changed files with 3 additions and 4 deletions
7
zshrc
7
zshrc
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue