aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-16 01:04:29 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-16 01:05:09 +0200
commitd9f7269507cfc65a2fec05651bdff00978e0d1ec (patch)
tree9f0a904fbcf5606ddce6afcf7f5530b5c6b51bfc /misc/bash_completion
parent6cdc6c087e858e18c5c54e92c60ceb78a37fc3f2 (diff)
downloadgit-bug-d9f7269507cfc65a2fec05651bdff00978e0d1ec.tar.gz
commands: add a title command to display a bug's title
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 9fb336b4..36da665c 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -528,6 +528,26 @@ _git-bug_termui()
noun_aliases=()
}
+_git-bug_title()
+{
+ last_command="git-bug_title"
+
+ 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_webui()
{
last_command="git-bug_webui"
@@ -569,6 +589,7 @@ _git-bug_root_command()
commands+=("push")
commands+=("show")
commands+=("termui")
+ commands+=("title")
commands+=("webui")
flags=()