Browse Source
Allow use of NVM_AUTO_USE alongside NVM_LAZY_LOAD
pull/55/head
jmills
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
zsh-nvm.plugin.zsh
|
|
@ -102,6 +102,7 @@ _zsh_nvm_lazy_load() { |
|
|
|
eval "$cmd(){ |
|
|
|
unset -f $cmds > /dev/null 2>&1 |
|
|
|
_zsh_nvm_load |
|
|
|
[[ "$NVM_AUTO_USE" == true ]] && add-zsh-hook chpwd _zsh_nvm_auto_use && _zsh_nvm_auto_use |
|
|
|
$cmd \"\$@\" |
|
|
|
}" |
|
|
|
done |
|
|
|