diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-06 03:22:36 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-06 03:26:42 +0200 |
commit | 26e7ce44db91f3b08fa5d1b32690348d40c1fb00 (patch) | |
tree | d42e357dfd83453d284f861dccdadfde54eef54e /misc/zsh_completion | |
parent | b2f20c9a61715b0a60f9e55688dbed221d775c7e (diff) | |
download | git-bug-26e7ce44db91f3b08fa5d1b32690348d40c1fb00.tar.gz |
upgrade the readme
Diffstat (limited to 'misc/zsh_completion')
-rw-r--r-- | misc/zsh_completion/git-bug | 20 |
1 files changed, 20 insertions, 0 deletions
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 |