Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
e4f0f739
Unverified
Commit
e4f0f739
authored
Sep 26, 2019
by
Matthew Fisher
Committed by
GitHub
Sep 26, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5680 from VilledeMontreal/fix/zshFlagBug
v2: fix(completion): --flag=val breaks zsh completion
parents
c8f57384
eb838bff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
completion.go
cmd/helm/completion.go
+1
-8
No files found.
cmd/helm/completion.go
View file @
e4f0f739
...
@@ -126,13 +126,6 @@ __helm_compgen() {
...
@@ -126,13 +126,6 @@ __helm_compgen() {
__helm_compopt() {
__helm_compopt() {
true # don't do anything. Not supported by bashcompinit in zsh
true # don't do anything. Not supported by bashcompinit in zsh
}
}
__helm_declare() {
if [ "$1" == "-F" ]; then
whence -w "$@"
else
builtin declare "$@"
fi
}
__helm_ltrim_colon_completions()
__helm_ltrim_colon_completions()
{
{
if [[ "$1" == *:* && "$COMP_WORDBREAKS" == *:* ]]; then
if [[ "$1" == *:* && "$COMP_WORDBREAKS" == *:* ]]; then
...
@@ -210,7 +203,7 @@ __helm_convert_bash_to_zsh() {
...
@@ -210,7 +203,7 @@ __helm_convert_bash_to_zsh() {
-e "s/${LWORD}__ltrim_colon_completions${RWORD}/__helm_ltrim_colon_completions/g" \
-e "s/${LWORD}__ltrim_colon_completions${RWORD}/__helm_ltrim_colon_completions/g" \
-e "s/${LWORD}compgen${RWORD}/__helm_compgen/g" \
-e "s/${LWORD}compgen${RWORD}/__helm_compgen/g" \
-e "s/${LWORD}compopt${RWORD}/__helm_compopt/g" \
-e "s/${LWORD}compopt${RWORD}/__helm_compopt/g" \
-e "s/${LWORD}declare${RWORD}/
__helm_
declare/g" \
-e "s/${LWORD}declare${RWORD}/
builtin
declare/g" \
-e "s/\\\$(type${RWORD}/\$(__helm_type/g" \
-e "s/\\\$(type${RWORD}/\$(__helm_type/g" \
-e 's/aliashash\["\(.\{1,\}\)"\]/aliashash[\1]/g' \
-e 's/aliashash\["\(.\{1,\}\)"\]/aliashash[\1]/g' \
-e 's/FUNCNAME/funcstack/g' \
-e 's/FUNCNAME/funcstack/g' \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment