aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zsh_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-16 14:29:14 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-16 14:29:14 +0200
commitdad61892cea320cd28c23c73fdf65a90404c6099 (patch)
treeda964d3af2001027ef880d93cf5914ecd40984e8 /misc/zsh_completion
parenta846fb96de587afdd9b3ea37bdb9731d77e44863 (diff)
downloadgit-bug-dad61892cea320cd28c23c73fdf65a90404c6099.tar.gz
commands: migrate the open/close commands under the "status" command
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r--misc/zsh_completion/git-bug5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index 38d72c24..bb22344a 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 close commands comment label ls open pull push show status termui title webui)'
+ _arguments '1: :(add commands comment label ls pull push show status termui title webui)'
;;
*)
_arguments '*: :_files'
@@ -20,6 +20,9 @@ case $state in
comment)
_arguments '2: :(add)'
;;
+ status)
+ _arguments '2: :(close open)'
+ ;;
title)
_arguments '2: :(edit)'
;;