From 26e7ce44db91f3b08fa5d1b32690348d40c1fb00 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 6 Aug 2018 03:22:36 +0200 Subject: upgrade the readme --- misc/zsh_completion/git-bug | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 misc/zsh_completion/git-bug (limited to 'misc/zsh_completion') diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug new file mode 100644 index 00000000..dcd83163 --- /dev/null +++ b/misc/zsh_completion/git-bug @@ -0,0 +1,20 @@ +#compdef git-bug + +_arguments \ + '1: :->level1' \ + '2: :_files' +case $state in + level1) + case $words[1] in + git-bug) + _arguments '1: :(close commands comment label ls new open pull push show termui webui)' + ;; + *) + _arguments '*: :_files' + ;; + esac + ;; + *) + _arguments '*: :_files' + ;; +esac -- cgit