aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-02-17 16:12:06 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-01 22:40:25 +0100
commit864eae0d6bd0732260c0c56583bb77f9b25b60f6 (patch)
treeb1a0384f2fdb0af0c8aaf0f1b0fbc1c445c418f3 /misc
parentda558b05ef79f4c80df10c6969a9ae5f4f764f96 (diff)
downloadgit-bug-864eae0d6bd0732260c0c56583bb77f9b25b60f6.tar.gz
identity: work on higher level now, cache, first two identity commands
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug63
-rw-r--r--misc/zsh_completion/git-bug5
2 files changed, 46 insertions, 22 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 98d94a35..4ec1e472 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -450,26 +450,6 @@ _git-bug_deselect()
noun_aliases=()
}
-_git-bug_id()
-{
- last_command="git-bug_id"
-
- 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_label_add()
{
last_command="git-bug_label_add"
@@ -819,6 +799,47 @@ _git-bug_title()
noun_aliases=()
}
+_git-bug_user_create()
+{
+ last_command="git-bug_user_create"
+
+ 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()
+{
+ last_command="git-bug_user"
+
+ command_aliases=()
+
+ commands=()
+ commands+=("create")
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
_git-bug_version()
{
last_command="git-bug_version"
@@ -883,7 +904,6 @@ _git-bug_root_command()
commands+=("commands")
commands+=("comment")
commands+=("deselect")
- commands+=("id")
commands+=("label")
commands+=("ls")
commands+=("ls-id")
@@ -895,6 +915,7 @@ _git-bug_root_command()
commands+=("status")
commands+=("termui")
commands+=("title")
+ commands+=("user")
commands+=("version")
commands+=("webui")
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index d966b9be..1a705f7d 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -8,7 +8,7 @@ case $state in
level1)
case $words[1] in
git-bug)
- _arguments '1: :(add bridge commands comment deselect id label ls ls-label pull push select show status termui title version webui)'
+ _arguments '1: :(add bridge commands comment deselect label ls ls-label pull push select show status termui title user version webui)'
;;
*)
_arguments '*: :_files'
@@ -32,6 +32,9 @@ case $state in
title)
_arguments '2: :(edit)'
;;
+ user)
+ _arguments '2: :(create)'
+ ;;
*)
_arguments '*: :_files'
;;