diff --git a/cmd/helm/completion.go b/cmd/helm/completion.go
index d0249b2ea99480e16a694213d39d4c8c20bccf21..3c0318941146b7805ea4447f4fe1d03d2563317f 100644
--- a/cmd/helm/completion.go
+++ b/cmd/helm/completion.go
@@ -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))