Fixes #5046, zsh completion (#5072)

Signed-off-by: Peter Stalman <sarkedev@gmail.com>
(cherry picked from commit 4c1edcf049)
pull/5419/head
Peter Stalman 6 years ago committed by Adam Reese
parent f98366fc50
commit 8e45b0565c
No known key found for this signature in database
GPG Key ID: 06F35E60A7A18DD6

@ -212,6 +212,7 @@ __helm_convert_bash_to_zsh() {
-e "s/${LWORD}compopt${RWORD}/__helm_compopt/g" \
-e "s/${LWORD}declare${RWORD}/__helm_declare/g" \
-e "s/\\\$(type${RWORD}/\$(__helm_type/g" \
-e 's/aliashash\["\(\w\+\)"\]/aliashash[\1]/g' \
<<'BASH_COMPLETION_EOF'
`
out.Write([]byte(zshInitialization))

Loading…
Cancel
Save