[arch-commits] Commit in android-tools/trunk (bash_completion)
Anatol Pomozov
anatolik at archlinux.org
Fri Aug 21 15:19:10 UTC 2015
Date: Friday, August 21, 2015 @ 17:19:10
Author: anatolik
Revision: 138598
FS#46045 Pull recent bash autocompletion changes from upstream
Modified:
android-tools/trunk/bash_completion
-----------------+
bash_completion | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: bash_completion
===================================================================
--- bash_completion 2015-08-21 11:29:17 UTC (rev 138597)
+++ bash_completion 2015-08-21 15:19:10 UTC (rev 138598)
@@ -61,7 +61,8 @@
;;
-s)
# Use 'adb devices' to list serial numbers.
- COMPREPLY=( $(compgen -W "$(adb devices|grep 'device$'|cut -f1)" -- ${cur} ) )
+ COMPREPLY=( $(compgen -W "$(adb devices |
+ awk '/(device|recovery|sideload)$/{print $1}')" -- ${cur} ) )
return 0
;;
esac
More information about the arch-commits
mailing list