Browse Source

Fix node-module

The change recently introduced for #777 was actually breaking the module
completely, as it was only loaded if neither `node` nor `nvm`
were available.
master
Tobias Witt 10 years ago committed by Sorin Ionescu
parent
commit
e144abb285
  1. 2
      modules/node/init.zsh

2
modules/node/init.zsh

@ -7,7 +7,7 @@
# #
# Return if requirements are not found. # Return if requirements are not found.
if (( ! $+commands[nvm] || ! $+commands[node] )); then if (( ! $+commands[nvm] && ! $+commands[node] )); then
return 1 return 1
fi fi

Loading…
Cancel
Save