From 2282cbb595ff5cc603d11645ddc833d70de9ad9d Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 24 Sep 2018 17:11:50 +0200 Subject: commands: add "bridge pull" --- misc/bash_completion/git-bug | 21 +++++++++++++++++++++ misc/zsh_completion/git-bug | 12 ++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) (limited to 'misc') 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' ;; -- cgit