Created
June 25, 2016 17:13
-
-
Save cyberbikepunk/4d8309f2c06b51c9c996450803e5f3fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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