Browse Source

Add lazy loader for yarn if present

yarn recommends installing via brew (or something other than npm) which means our it won't be picked up in our nvm node_modules glob.
auto-use
Luke Childs 8 years ago
parent
commit
e05c86722d
  1. 3
      zsh-nvm.plugin.zsh

3
zsh-nvm.plugin.zsh

@ -75,6 +75,9 @@ _zsh_nvm_lazy_load() {
global_binaries=($(_zsh_nvm_global_binaries)) global_binaries=($(_zsh_nvm_global_binaries))
fi fi
# Add yarn lazy loader if it's been installed by something other than npm
_zsh_nvm_has yarn && global_binaries+=('yarn')
# Add nvm # Add nvm
global_binaries+=('nvm') global_binaries+=('nvm')

Loading…
Cancel
Save