aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-10 15:50:56 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-10 15:50:56 +0100
commitf8cf3fea035d7f0ad0287166c3a5016777acf5ad (patch)
treee077b7a22a966ba03077c76bcb35373feb5e90c5 /misc/zsh_completion
parente2445edcb99ed0aa7fcd40fe7484d71e73367334 (diff)
downloadgit-bug-f8cf3fea035d7f0ad0287166c3a5016777acf5ad.tar.gz
cli: add bridge token show
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r--misc/zsh_completion/git-bug10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 7f5f6231..f0ff7edf 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -180,7 +180,8 @@ function _git-bug_bridge_token {
cmnds)
commands=(
"add:Store a new token"
- "rm:Remove token by Id."
+ "rm:Remove a token."
+ "show:Display a token."
)
_describe "command" commands
;;
@@ -193,6 +194,9 @@ function _git-bug_bridge_token {
rm)
_git-bug_bridge_token_rm
;;
+ show)
+ _git-bug_bridge_token_show
+ ;;
esac
}
@@ -205,6 +209,10 @@ function _git-bug_bridge_token_rm {
_arguments
}
+function _git-bug_bridge_token_show {
+ _arguments
+}
+
function _git-bug_commands {
_arguments \
'(-p --pretty)'{-p,--pretty}'[Output the command description as well as Markdown compatible comment]'