1
0
Fork 0

Node is not a requirement for nvm: nvm is shipped without any node version. User has to install the ones he wants.

pull/777/head
Aurélien Scoubeau 10 years ago committed by Aurélien Scoubeau
parent d43bcb9720
commit c0f1dc4247

@ -15,11 +15,6 @@ elif (( $+commands[brew] )) && [[ -d "$(brew --prefix nvm 2>/dev/null)" ]]; then
source $(brew --prefix nvm)/nvm.sh
fi
# Return if requirements are not found.
if (( ! $+commands[node] )); then
return 1
fi
# Load NPM completion.
if (( $+commands[npm] )); then
cache_file="${0:h}/cache.zsh"

Loading…
Cancel
Save