mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Merge pull request #298 from vincentbernat/fix/adb-completion
Small fixes for adb completion
This commit is contained in:
@@ -71,7 +71,7 @@ _adb() {
|
||||
;;
|
||||
(push)
|
||||
_arguments \
|
||||
'1:local directory:_files -/' \
|
||||
'1:files:_files' \
|
||||
'2: :_adb_remote_files -/' \
|
||||
&& ret=0
|
||||
;;
|
||||
@@ -83,7 +83,7 @@ _adb() {
|
||||
;;
|
||||
(sideload)
|
||||
_arguments \
|
||||
'1:local directory:_files -/' \
|
||||
'1:archive:_files -g "*.zip(-.)"' \
|
||||
&& ret=0
|
||||
;;
|
||||
(sync)
|
||||
@@ -199,6 +199,7 @@ _adb_device_cmds() {
|
||||
local commands; commands=(
|
||||
'push:copy file/dir to device'
|
||||
'pull:copy file/dir from device'
|
||||
'sideload:push an update using sideload'
|
||||
'sync:copy host->device only if changed'
|
||||
'shell:run remote shell interactively or command'
|
||||
'emu:run emulator console command'
|
||||
|
||||
Reference in New Issue
Block a user