Closed davidosomething closed 8 years ago
since you call compdef you need the nice parameter >= 10 that ensures compdef() the function exists in the first place
nice
compdef()
see: https://github.com/zplug/zplug#3-tags-for-zplug https://github.com/zsh-users/zsh/blob/master/Completion/compinit#L238
Thanks for pointing that out 👍
Should be sorted now https://github.com/lukechilds/zsh-better-npm-completion/commit/c20cf68ea4193c0e3c1198db44ac5070ebbb544b
since you call compdef you need the
nice
parameter >= 10 that ensurescompdef()
the function exists in the first placesee: https://github.com/zplug/zplug#3-tags-for-zplug https://github.com/zsh-users/zsh/blob/master/Completion/compinit#L238