mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
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.
This commit is contained in:
parent
0dad2bdef2
commit
e05c86722d
@ -75,6 +75,9 @@ _zsh_nvm_lazy_load() {
|
||||
global_binaries=($(_zsh_nvm_global_binaries))
|
||||
fi
|
||||
|
||||
# Add yarn lazy loader if it's been installed by something other than npm
|
||||
_zsh_nvm_has yarn && global_binaries+=('yarn')
|
||||
|
||||
# Add nvm
|
||||
global_binaries+=('nvm')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user