click-contrib / click-completion

Add or enhance bash, fish, zsh and powershell completion in Click
MIT License
288 stars 32 forks source link

Don't call compinit in Zsh completion code #17

Closed segevfiner closed 5 years ago

segevfiner commented 5 years ago

compinit resets the shell completion machinery, nuking any other dynamically added completions. It should be up to the user to call it once during his shell initialization.

glehmann commented 5 years ago

thanks!