Autocomplete: Compdef: command not found
harvestnide opened this issue · comments
Sys: MacOS 10.15
Shell: zsh 5.7.1 (x86_64-apple-darwin19.0) with Zplugin
After quick googling - it is fixable by adding autoload -Uz compinit && compinit
to .zshrc. But I don't have time to research it currently and have literally no idea, what it is and how it is working
Would be nice to at least have an suggestion during toggl config competition install
Hmm this is related to click-completion
package that I am using for completion support. It is already reported there but with no action taken yet and since it is pretty old most probably won't happen anytime soon.
Also Click apparently will support the completion itself so maybe as part of the dependency update I will rewrite that part.
Gotcha
I checked it, compinit is internal zsh binary, that provides that autocomplete functionality in the first place
It's just weird, because when I added that - git autocomplete started to work properly, so it needs that, but it doesn't spit out errors on shell start
Anyway, sorry for bothering, gonna terrorise click-completion author instead