Allow zsh completion to be autoloaded by compinit

pull/4207/head^2
Dusty Rip 7 years ago committed by Sebastien Plisson
parent fbd42f30cc
commit d4745975d9

@ -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