aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-24 17:11:50 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-24 17:11:50 +0200
commit2282cbb595ff5cc603d11645ddc833d70de9ad9d (patch)
tree635bfafb7c907d3f510b516773e32ddb44d85287 /misc
parent061e83d4b4aa66c2691b3699a3e770b2a58d26df (diff)
downloadgit-bug-2282cbb595ff5cc603d11645ddc833d70de9ad9d.tar.gz
commands: add "bridge pull"
Diffstat (limited to 'misc')
-rw-r--r--misc/bash_completion/git-bug21
-rw-r--r--misc/zsh_completion/git-bug12
2 files changed, 27 insertions, 6 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 0f9d3f01..496c900b 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -297,6 +297,26 @@ _git-bug_bridge_configure()
noun_aliases=()
}
+_git-bug_bridge_pull()
+{
+ last_command="git-bug_bridge_pull"
+
+ 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_rm()
{
last_command="git-bug_bridge_rm"
@@ -325,6 +345,7 @@ _git-bug_bridge()
commands=()
commands+=("configure")
+ commands+=("pull")
commands+=("rm")
flags=()
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 15b572be..8d2d9208 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -17,12 +17,6 @@ case $state in
;;
level2)
case $words[2] in
- title)
- _arguments '2: :(edit)'
- ;;
- bridge)
- _arguments '2: :(configure rm)'
- ;;
comment)
_arguments '2: :(add)'
;;
@@ -32,6 +26,12 @@ case $state in
status)
_arguments '2: :(close open)'
;;
+ title)
+ _arguments '2: :(edit)'
+ ;;
+ bridge)
+ _arguments '2: :(configure pull rm)'
+ ;;
*)
_arguments '*: :_files'
;;