aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-21 14:02:05 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-21 14:02:05 +0200
commit6e4475941309b1b8aed7415b948ba6d26d80dfad (patch)
tree727a761970b6a7cbc3558918e253616843a1422f /misc/bash_completion
parentcfce3a9914c4a7762399119fabc63c77f567d7cf (diff)
downloadgit-bug-6e4475941309b1b8aed7415b948ba6d26d80dfad.tar.gz
commands: add a "ls-labels" command that output valid labels
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug21
1 files changed, 21 insertions, 0 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")