aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-26 23:25:14 +0200
committerJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-26 23:25:14 +0200
commit25d352c9d062174c9c5bc38255a27e928a7e2241 (patch)
tree8d847ab84c87cbb90bfcce0889b9c6273188537b
parent#23 github: complete users using _users too (diff)
downloadzsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar.gz
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar.bz2
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar.lz
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar.xz
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.tar.zst
zsh-completions-25d352c9d062174c9c5bc38255a27e928a7e2241.zip
#23 github: remove TODOs as it cannot be implemented...
-rw-r--r--_github3
1 files changed, 0 insertions, 3 deletions
diff --git a/_github b/_github
index 2bf9f75..92a9a66 100644
--- a/_github
+++ b/_github
@@ -239,13 +239,11 @@ _github_network_users() {
(( $+functions[_github_repos] )) ||
_github_repos() {
- # TODO Not implemented
_message -e repos 'repo'
}
(( $+functions[_github_branches] )) ||
_github_branches() {
- # TODO Not implemented
_message -e branches 'branch'
}
@@ -253,7 +251,6 @@ _github_branches() {
_github_user_slash_repos() {
local ret=1
if compset -P '*/'; then
- # TODO Make it contextual to the user
_wanted repos expl 'repo' _github_repos && ret=0
else
_wanted users expl 'user' _github_users -qS/ && ret=0