aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-18 13:17:39 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-18 13:17:39 +0200
commit5f9fd2a2d95bd23e5d6972ec822bf1fea3077804 (patch)
tree9c6b0a9ff684179916207689c6b5c808efb67eb7 /misc/bash_completion
parent0d5998eb67f9bbf146e15a127a2d6a89aa14eab9 (diff)
downloadgit-bug-5f9fd2a2d95bd23e5d6972ec822bf1fea3077804.tar.gz
commands: add a "select" command to select a bug for future implicit use
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 d0613dc7..9d8482c8 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -487,6 +487,26 @@ _git-bug_push()
noun_aliases=()
}
+_git-bug_select()
+{
+ last_command="git-bug_select"
+
+ 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_show()
{
last_command="git-bug_show"
@@ -670,6 +690,7 @@ _git-bug_root_command()
commands+=("ls")
commands+=("pull")
commands+=("push")
+ commands+=("select")
commands+=("show")
commands+=("status")
commands+=("termui")