mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
#40 adb: Complete push and pull commands
This commit is contained in:
@@ -71,10 +71,16 @@ _adb() {
|
||||
_arguments '1: :_adb_host_colon_ports' && ret=0
|
||||
;;
|
||||
(push)
|
||||
_message '<local> <remote>' && ret=0 # TODO Not implemented
|
||||
_arguments \
|
||||
'1:local directory:_files -/' \
|
||||
'2::remote directory' \
|
||||
&& ret=0
|
||||
;;
|
||||
(pull)
|
||||
_message '<remote> [<local>]' && ret=0 # TODO Not implemented
|
||||
_arguments \
|
||||
'1::remote directory' \
|
||||
'2:local directory:_files -/' \
|
||||
&& ret=0
|
||||
;;
|
||||
(sync)
|
||||
_message '[ [-l] <directory> ]' && ret=0 # TODO Not implemented
|
||||
|
||||
Reference in New Issue
Block a user