Fix #5046 compatible with MacOS (#5406)

(cherry picked from commit c94c00915f)

Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
release-2.13
Marc Khouzam 6 years ago committed by Matthew Fisher
parent 20c949f121
commit a6ccbdaa9e
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -212,7 +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' \
-e 's/aliashash\["\(.\{1,\}\)"\]/aliashash[\1]/g' \
<<'BASH_COMPLETION_EOF'
`
out.Write([]byte(zshInitialization))

Loading…
Cancel
Save