aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug21
-rw-r--r--misc/zsh_completion/git-bug2
2 files changed, 22 insertions, 1 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 237a0df0..c83d33ae 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -799,6 +799,26 @@ _git-bug_title()
noun_aliases=()
}
+_git-bug_user_adopt()
+{
+ last_command="git-bug_user_adopt"
+
+ 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_user_create()
{
last_command="git-bug_user_create"
@@ -849,6 +869,7 @@ _git-bug_user()
command_aliases=()
commands=()
+ commands+=("adopt")
commands+=("create")
commands+=("ls")
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 6fc3cf8e..232cd3c1 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -33,7 +33,7 @@ case $state in
_arguments '2: :(edit)'
;;
user)
- _arguments '2: :(create ls)'
+ _arguments '2: :(adopt create ls)'
;;
*)
_arguments '*: :_files'