From c0f1dc424754c87f1de5a7f0a0b9833d9667b2fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Scoubeau?= Date: Tue, 20 Jan 2015 13:34:32 +0100 Subject: [PATCH] Node is not a requirement for nvm: nvm is shipped without any node version. User has to install the ones he wants. --- modules/node/init.zsh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/node/init.zsh b/modules/node/init.zsh index 6fedb3c8..906cd024 100644 --- a/modules/node/init.zsh +++ b/modules/node/init.zsh @@ -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"