Open
Description
Hi, and thanks for this great project. I'm having an issue when loading zsh-nvm using zsh-snap ("znap") plugin manager with the setup shown at marlonrichert/zsh-launchpad.
I get this error: cmd: attempt to assign private in nested scope
, related to this line in the _zsh_nvm_lazy_load
function:
Line 106 in 23067bd
I think this is happening since my .zshrc is configured to znap source
plugins inside an anonymous function.
I was able to fix it by explicitly marking cmd
as local:
# Create function for each command
local cmd
for cmd in $cmds; do
Metadata
Metadata
Assignees
Labels
No labels