diff --git a/_github b/_github index ee02bc2..ee7d902 100644 --- a/_github +++ b/_github @@ -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 "$@"