aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-16 01:17:06 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-16 01:17:06 +0200
commitae100e0e8273b09dd1c2f2ee08388440c2662fad (patch)
treeb2663d0e0984d6c8fdd47c37ed71eb873156cab5 /misc/bash_completion
parentd9f7269507cfc65a2fec05651bdff00978e0d1ec (diff)
downloadgit-bug-ae100e0e8273b09dd1c2f2ee08388440c2662fad.tar.gz
commands: add a title edit command
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug24
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 36da665c..f5f3da2a 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -528,6 +528,29 @@ _git-bug_termui()
noun_aliases=()
}
+_git-bug_title_edit()
+{
+ last_command="git-bug_title_edit"
+
+ command_aliases=()
+
+ commands=()
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+ flags+=("--title=")
+ two_word_flags+=("-t")
+ local_nonpersistent_flags+=("--title=")
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
_git-bug_title()
{
last_command="git-bug_title"
@@ -535,6 +558,7 @@ _git-bug_title()
command_aliases=()
commands=()
+ commands+=("edit")
flags=()
two_word_flags=()