diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 21 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index 7283ad2a..d0613dc7 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -367,6 +367,26 @@ _git-bug_label_add() noun_aliases=() } +_git-bug_label_rm() +{ + last_command="git-bug_label_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_label() { last_command="git-bug_label" @@ -375,6 +395,7 @@ _git-bug_label() commands=() commands+=("add") + commands+=("rm") flags=() two_word_flags=() diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index b564942f..35506b76 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -21,7 +21,7 @@ case $state in _arguments '2: :(add)' ;; label) - _arguments '2: :(add)' + _arguments '2: :(add rm)' ;; status) _arguments '2: :(close open)' |