adb: make sideload only propose zip archives

This seems the only usage of sideload. The completion will take ZIP
archives. However, when there is no match, any file will be completed.
This commit is contained in:
Vincent Bernat 2015-02-27 13:16:48 +01:00
parent 08bead065a
commit 0280621bc9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ _adb() {
;;
(sideload)
_arguments \
'1:local directory:_files -/' \
'1:archive:_files -g "*.zip(-.)"' \
&& ret=0
;;
(sync)