aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-26 16:49:00 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-26 16:49:00 +0200
commit04ddeef90f8dfb541e1b87ace1cb817679a488df (patch)
tree1a5929b845b796866c8637ae776b9d8dffc0ecb5 /misc/bash_completion
parent18f5c1632f51b7f7172441651b13ac267b421df2 (diff)
downloadgit-bug-04ddeef90f8dfb541e1b87ace1cb817679a488df.tar.gz
commands: add a "deselect" command to deselect a previously selected bug
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 496c900b..69f73d2c 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -430,6 +430,26 @@ _git-bug_comment()
noun_aliases=()
}
+_git-bug_deselect()
+{
+ last_command="git-bug_deselect"
+
+ 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_add()
{
last_command="git-bug_label_add"
@@ -790,6 +810,7 @@ _git-bug_root_command()
commands+=("bridge")
commands+=("commands")
commands+=("comment")
+ commands+=("deselect")
commands+=("label")
commands+=("ls")
commands+=("ls-label")