Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
As an alternative to implementing native zsh completion, you can also use zsh's bash completion compatibility mode. To use it, add
autoload bashcompinit
bashcompinit
eval "$(_FOO_BAR_COMPLETE=source foo-bar)"
to your .zshrc. The last line assumes your click script is called foo-bar; see the click docs for more info.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment