Allow zsh completion to be autoloaded by compinit

pull/4207/head
Dusty Rip 7 years ago committed by Sebastien Plisson
parent 993573e8d2
commit dcacf25eb6

@ -82,6 +82,8 @@ func runCompletionBash(out io.Writer, cmd *cobra.Command) error {
func runCompletionZsh(out io.Writer, cmd *cobra.Command) error {
zshInitialization := `
#compdef helm
__helm_bash_source() {
alias shopt=':'
alias _expand=_bash_expand

Loading…
Cancel
Save