aboutsummaryrefslogtreecommitdiffstats
path: root/_github
diff options
context:
space:
mode:
authorJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-08-31 21:37:22 +0200
committerJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-08-31 21:37:22 +0200
commit1d89a8104f0c8f5b73ed00f9e2c5303080596a67 (patch)
tree4e1946e29a98fb0c2af976363fc56abb01201f6e /_github
parent#23 github: add version of gem for which this compdef is written (diff)
downloadzsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar.gz
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar.bz2
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar.lz
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar.xz
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.tar.zst
zsh-completions-1d89a8104f0c8f5b73ed00f9e2c5303080596a67.zip
#23 github: complete 'admin', 'fetch', 'fetch_all', 'home' and 'info' commands
Diffstat (limited to '_github')
-rw-r--r--_github17
1 files changed, 2 insertions, 15 deletions
diff --git a/_github b/_github
index 355eaef..d0e057e 100644
--- a/_github
+++ b/_github
@@ -56,9 +56,8 @@ _github() {
(args)
curcontext="${curcontext%:*:*}:github-cmd-$words[1]:"
case $words[1] in
- (admin)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
+ (admin|fetch|fetch_all|home|info)
+ _message 'no more arguments' && ret=0
;;
(browse)
# TODO Not implemented
@@ -80,14 +79,6 @@ _github() {
# TODO Not implemented
_message "${words[1]} command argument" && ret=0
;;
- (fetch)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
- ;;
- (fetch_all)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
- ;;
(fork)
# TODO Not implemented
_message "${words[1]} command argument" && ret=0
@@ -100,10 +91,6 @@ _github() {
# TODO Not implemented
_message "${words[1]} command argument" && ret=0
;;
- (info)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
- ;;
(issues)
# TODO Not implemented
_message "${words[1]} command argument" && ret=0