adb: first argument of push can be any file

Regular files can be pushed, not only directories.
This commit is contained in:
Vincent Bernat
2015-12-31 14:19:31 +01:00
parent 0280621bc9
commit d2682f69e8
+1 -1
View File
@@ -71,7 +71,7 @@ _adb() {
;;
(push)
_arguments \
'1:local directory:_files -/' \
'1:files:_files' \
'2: :_adb_remote_files -/' \
&& ret=0
;;