From 0280621bc9c1100a4c45781822b60165d2876ec9 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 27 Feb 2015 13:16:48 +0100 Subject: [PATCH] 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. --- src/_adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_adb b/src/_adb index 2ee164b..f3ca68f 100644 --- a/src/_adb +++ b/src/_adb @@ -83,7 +83,7 @@ _adb() { ;; (sideload) _arguments \ - '1:local directory:_files -/' \ + '1:archive:_files -g "*.zip(-.)"' \ && ret=0 ;; (sync)