aboutsummaryrefslogtreecommitdiffstats
path: root/_github
diff options
context:
space:
mode:
authorJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-02 10:40:17 +0200
committerJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-02 10:40:17 +0200
commit626ee8441f299b2a6e808b962140cc403090a54d (patch)
tree7792e9d0dcb618863872c12a5cfda205c1a8510e /_github
parent#23 github: complete 'config' command (diff)
downloadzsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar.gz
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar.bz2
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar.lz
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar.xz
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.tar.zst
zsh-completions-626ee8441f299b2a6e808b962140cc403090a54d.zip
#23 github: complete 'create' command
Diffstat (limited to '_github')
-rw-r--r--_github11
1 files changed, 9 insertions, 2 deletions
diff --git a/_github b/_github
index 8b2e3a3..aae7a2e 100644
--- a/_github
+++ b/_github
@@ -81,8 +81,15 @@ _github() {
&& ret=0
;;
(create)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
+ _arguments \
+ '1:repo name' \
+ '--markdown[create README.markdown]' \
+ '--mdown[create README.mdown]' \
+ '--private[create private repository]' \
+ '--rdoc[create README.rdoc]' \
+ '--rst[create README.rst]' \
+ '--textile[create README.textile]' \
+ && ret=0
;;
(create-from-local)
# TODO Not implemented