mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-07 00:18:45 +08:00
#23 github: complete 'admin', 'fetch', 'fetch_all', 'home' and 'info' commands
This commit is contained in:
1 parent
f251d5a7db
commit
1d89a8104f
1 file changed
+2
-15
@@ -56,9 +56,8 @@ _github() {
|
|||||||
(args)
|
(args)
|
||||||
curcontext="${curcontext%:*:*}:github-cmd-$words[1]:"
|
curcontext="${curcontext%:*:*}:github-cmd-$words[1]:"
|
||||||
case $words[1] in
|
case $words[1] in
|
||||||
(admin)
|
(admin|fetch|fetch_all|home|info)
|
||||||
# TODO Not implemented
|
_message 'no more arguments' && ret=0
|
||||||
_message "${words[1]} command argument" && ret=0
|
|
||||||
;;
|
;;
|
||||||
(browse)
|
(browse)
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
@@ -80,14 +79,6 @@ _github() {
|
|||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
_message "${words[1]} command argument" && ret=0
|
_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)
|
(fork)
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
_message "${words[1]} command argument" && ret=0
|
_message "${words[1]} command argument" && ret=0
|
||||||
@@ -100,10 +91,6 @@ _github() {
|
|||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
_message "${words[1]} command argument" && ret=0
|
_message "${words[1]} command argument" && ret=0
|
||||||
;;
|
;;
|
||||||
(info)
|
|
||||||
# TODO Not implemented
|
|
||||||
_message "${words[1]} command argument" && ret=0
|
|
||||||
;;
|
|
||||||
(issues)
|
(issues)
|
||||||
# TODO Not implemented
|
# TODO Not implemented
|
||||||
_message "${words[1]} command argument" && ret=0
|
_message "${words[1]} command argument" && ret=0
|
||||||
|
|||||||
Reference in new issue
Block a user