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 9d8482c8..c78391dd 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -447,6 +447,26 @@ _git-bug_ls() noun_aliases=() } +_git-bug_ls-label() +{ + last_command="git-bug_ls-label" + + 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_pull() { last_command="git-bug_pull" @@ -688,6 +708,7 @@ _git-bug_root_command() commands+=("comment") commands+=("label") commands+=("ls") + commands+=("ls-label") commands+=("pull") commands+=("push") commands+=("select") diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 4ad6663a..077fa181 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -8,7 +8,7 @@ case $state in level1) case $words[1] in git-bug) - _arguments '1: :(add commands comment label ls pull push select show status termui title webui)' + _arguments '1: :(add commands comment label ls ls-label pull push select show status termui title webui)' ;; *) _arguments '*: :_files' |