aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug24
-rw-r--r--misc/zsh_completion/git-bug3
2 files changed, 27 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=()
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 31dd5ee0..60ae6ce9 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -20,6 +20,9 @@ case $state in
comment)
_arguments '2: :(add)'
;;
+ title)
+ _arguments '2: :(edit)'
+ ;;
*)
_arguments '*: :_files'
;;