Allow zsh completion to be autoloaded by compinit

pull/4338/head
Dusty Rip 6 years ago
parent 5ce95c6ea3
commit cd6dd31397

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