-
-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
I install command undollar
using npm install -g undollar
, which defines a global commad $
.
When sourcing zsh-nvim.plugin.zsh
, zsh complains about (eval):5: parse error near }
.
I find this problem is caused by the code showing below. The value of varaible $cmd
is "$", so it fails to eval that function.
Lines 109 to 113 in 23067bd
eval "$cmd(){ | |
unset -f $cmds > /dev/null 2>&1 | |
_zsh_nvm_load | |
$cmd \"\$@\" | |
}" |
Are there some ways to fix this?
Thank you very much :)
Metadata
Metadata
Assignees
Labels
No labels