fix: adb plugin
This commit is contained in:
parent
a7fb55cf13
commit
97d5be0da6
@ -48,8 +48,8 @@ _arguments \
|
|||||||
|
|
||||||
case "$state" in
|
case "$state" in
|
||||||
specify_device)
|
specify_device)
|
||||||
_values 'devices' $(adb devices -l|awk 'NR>1&& $1 ~ /^[a-zA-Z0-9].*$/ \
|
_values -C 'devices' ${$(adb devices -l|awk 'NR>1&& $1 \
|
||||||
{printf "%s[%s] ",$1,$6 }')
|
{sub(/ +/," ",$0);gsub(":","\\:",$1); printf "%s[%s] ",$1, $NF}'):-""}
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user