Skip to content

Commit

Permalink
Fix #5046 compatible with MacOS (#5406)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Khouzam <marc.khouzam@ville.montreal.qc.ca>
  • Loading branch information
marckhouzam authored and Matthew Fisher committed Mar 5, 2019
1 parent 9689b02 commit c94c009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/helm/completion.go
Expand Up @@ -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))
Expand Down

0 comments on commit c94c009

Please sign in to comment.