Merge pull request #4338 from dustyrip/zsh-compinit-patch

Allow zsh completion to be autoloaded by compinit
pull/4530/head
Adam Reese 6 years ago committed by GitHub
commit eb0dffcbd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save