aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-24 15:25:57 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-24 15:25:57 +0200
commit43bda202fa347e6893671b05376c0e4fcb9196f4 (patch)
treea542a6b7f593335df9950df16997c9b220bf4520 /misc
parent5e8fb7ec5058b816ccc9622f52dbf1777254656c (diff)
downloadgit-bug-43bda202fa347e6893671b05376c0e4fcb9196f4.tar.gz
commands: add the "bridge" and "bridge configure" commands
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug42
-rw-r--r--misc/zsh_completion/git-bug5
2 files changed, 46 insertions, 1 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index c78391dd..88f2e871 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -277,6 +277,47 @@ _git-bug_add()
noun_aliases=()
}
+_git-bug_bridge_configure()
+{
+ last_command="git-bug_bridge_configure"
+
+ 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_bridge()
+{
+ last_command="git-bug_bridge"
+
+ command_aliases=()
+
+ commands=()
+ commands+=("configure")
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
_git-bug_commands()
{
last_command="git-bug_commands"
@@ -704,6 +745,7 @@ _git-bug_root_command()
commands=()
commands+=("add")
+ commands+=("bridge")
commands+=("commands")
commands+=("comment")
commands+=("label")
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 077fa181..78f835ce 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 commands comment label ls ls-label pull push select show status termui title webui)'
+ _arguments '1: :(add bridge commands comment label ls ls-label pull push select show status termui title webui)'
;;
*)
_arguments '*: :_files'
@@ -17,6 +17,9 @@ case $state in
;;
level2)
case $words[2] in
+ bridge)
+ _arguments '2: :(configure)'
+ ;;
comment)
_arguments '2: :(add)'
;;