mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-06-05 11:56:28 +08:00
Test removing lazy chpwd hook
This commit is contained in:
parent
0b1344de73
commit
30f8555044
@ -102,7 +102,6 @@ _zsh_nvm_lazy_load() {
|
|||||||
eval "$cmd(){
|
eval "$cmd(){
|
||||||
unset -f $cmds > /dev/null 2>&1
|
unset -f $cmds > /dev/null 2>&1
|
||||||
_zsh_nvm_load
|
_zsh_nvm_load
|
||||||
[[ \"$NVM_AUTO_USE\" == true ]] && add-zsh-hook chpwd _zsh_nvm_auto_use
|
|
||||||
$cmd \"\$@\"
|
$cmd \"\$@\"
|
||||||
}"
|
}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user