mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
#23 github: complete 'ignore' command
This commit is contained in:
@@ -101,13 +101,10 @@ _github() {
|
|||||||
'1: :_github_user_slash_repos' \
|
'1: :_github_user_slash_repos' \
|
||||||
&& ret=0
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(home)
|
|
||||||
# TODO Not implemented
|
|
||||||
_message "${words[1]} command argument" && ret=0
|
|
||||||
;;
|
|
||||||
(ignore)
|
(ignore)
|
||||||
# TODO Not implemented
|
_arguments \
|
||||||
_message "${words[1]} command argument" && ret=0
|
'1: :_github_network_commits' \
|
||||||
|
&& ret=0
|
||||||
;;
|
;;
|
||||||
(issues)
|
(issues)
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
@@ -174,4 +171,10 @@ _github_user_slash_repos() {
|
|||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(( $+functions[_github_network_commits] )) ||
|
||||||
|
_github_network_commits() {
|
||||||
|
# TODO Not implemented (use 'github network commits' output)
|
||||||
|
_message -e commits 'commit'
|
||||||
|
}
|
||||||
|
|
||||||
_github "$@"
|
_github "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user