mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
also helps to escape quotes
This commit is contained in:
parent
9212aaf878
commit
0b1344de73
@ -102,7 +102,7 @@ _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
|
[[ \"$NVM_AUTO_USE\" == true ]] && add-zsh-hook chpwd _zsh_nvm_auto_use
|
||||||
$cmd \"\$@\"
|
$cmd \"\$@\"
|
||||||
}"
|
}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user