diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 21 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 8 |
2 files changed, 25 insertions, 4 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index 88f2e871..0f9d3f01 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -297,6 +297,26 @@ _git-bug_bridge_configure() noun_aliases=() } +_git-bug_bridge_rm() +{ + last_command="git-bug_bridge_rm" + + command_aliases=() + + commands=() + + flags=() + two_word_flags=() + local_nonpersistent_flags=() + flags_with_completion=() + flags_completion=() + + + must_have_one_flag=() + must_have_one_noun=() + noun_aliases=() +} + _git-bug_bridge() { last_command="git-bug_bridge" @@ -305,6 +325,7 @@ _git-bug_bridge() commands=() commands+=("configure") + commands+=("rm") flags=() two_word_flags=() diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 78f835ce..15b572be 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -17,8 +17,11 @@ case $state in ;; level2) case $words[2] in + title) + _arguments '2: :(edit)' + ;; bridge) - _arguments '2: :(configure)' + _arguments '2: :(configure rm)' ;; comment) _arguments '2: :(add)' @@ -29,9 +32,6 @@ case $state in status) _arguments '2: :(close open)' ;; - title) - _arguments '2: :(edit)' - ;; *) _arguments '*: :_files' ;; |