forked from extern/ohmyzsh
Update adb (#6472)
This commit is contained in:
parent
2af2d1aa31
commit
e999f104e7
@ -48,8 +48,8 @@ _arguments \
|
|||||||
|
|
||||||
case "$state" in
|
case "$state" in
|
||||||
specify_device)
|
specify_device)
|
||||||
_values 'devices' $(adb devices|awk 'NR>1&& $1 ~ /^[a-zA-Z0-9].*$/ \
|
_values 'devices' $(adb devices -l|awk 'NR>1&& $1 ~ /^[a-zA-Z0-9].*$/ \
|
||||||
{printf "%s[Device_%d:%s] ",$1,++i,$2 }')
|
{printf "%s[%s] ",$1,$6 }')
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user