#23 github: complete 'ignore' command

This commit is contained in:
Julien Nicoulaud 2011-09-02 15:03:46 +02:00
parent c501c18a2c
commit 335ff282ab
1 changed files with 9 additions and 6 deletions

15
_github
View File

@ -101,13 +101,10 @@ _github() {
'1: :_github_user_slash_repos' \
&& ret=0
;;
(home)
# TODO Not implemented
_message "${words[1]} command argument" && ret=0
;;
(ignore)
# TODO Not implemented
_message "${words[1]} command argument" && ret=0
_arguments \
'1: :_github_network_commits' \
&& ret=0
;;
(issues)
# TODO Not implemented
@ -174,4 +171,10 @@ _github_user_slash_repos() {
return ret
}
(( $+functions[_github_network_commits] )) ||
_github_network_commits() {
# TODO Not implemented (use 'github network commits' output)
_message -e commits 'commit'
}
_github "$@"