mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-02 05:58:43 +08:00
#40 adb: Complete push and pull commands
This commit is contained in:
1 parent
d5eca3a6bf
commit
a619c8eef0
1 file changed
+8
-2
@@ -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