aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-26 16:49:00 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-26 16:49:00 +0200
commit04ddeef90f8dfb541e1b87ace1cb817679a488df (patch)
tree1a5929b845b796866c8637ae776b9d8dffc0ecb5 /misc/zsh_completion
parent18f5c1632f51b7f7172441651b13ac267b421df2 (diff)
downloadgit-bug-04ddeef90f8dfb541e1b87ace1cb817679a488df.tar.gz
commands: add a "deselect" command to deselect a previously selected bug
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r--misc/zsh_completion/git-bug8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 8d2d9208..2deae548 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 label ls ls-label pull push select show status termui title webui)'
+ _arguments '1: :(add bridge commands comment deselect 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 pull rm)'
+ ;;
comment)
_arguments '2: :(add)'
;;
@@ -29,9 +32,6 @@ case $state in
title)
_arguments '2: :(edit)'
;;
- bridge)
- _arguments '2: :(configure pull rm)'
- ;;
*)
_arguments '*: :_files'
;;