diff options
-rw-r--r-- | misc/completion/bash/git-bug | 6 | ||||
-rw-r--r-- | misc/completion/generate.go | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/misc/completion/bash/git-bug b/misc/completion/bash/git-bug index 42263e093..49c7c77bf 100644 --- a/misc/completion/bash/git-bug +++ b/misc/completion/bash/git-bug @@ -352,11 +352,11 @@ _git_bug() { __git-bug_init_completion -n "=:" || return fi - # START PATCH - # replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword + # START PATCH + # replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword words=("git-bug" "${words[@]:2}") cword=$(($cword-1)) - # END PATCH + # END PATCH __git-bug_debug __git-bug_debug "========= starting completion logic ==========" diff --git a/misc/completion/generate.go b/misc/completion/generate.go index 245c561cd..b64c1034f 100644 --- a/misc/completion/generate.go +++ b/misc/completion/generate.go @@ -66,11 +66,11 @@ _git_bug() { __git-bug_init_completion -n "=:" || return fi - # START PATCH - # replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword + # START PATCH + # replace in the array ("git","bug", ...) to ("git-bug", ...) and adjust the index in cword words=("git-bug" "${words[@]:2}") cword=$(($cword-1)) - # END PATCH + # END PATCH __git-bug_debug __git-bug_debug "========= starting completion logic ==========" |