Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
e999f104
Commit
e999f104
authored
Dec 08, 2017
by
kg
Committed by
Robby Russell
Dec 07, 2017
Browse files
Update adb (#6472)
parent
2af2d1aa
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/adb/_adb
View file @
e999f104
...
...
@@ -48,8 +48,8 @@ _arguments \
case "$state" in
specify_device)
_values 'devices' $(adb devices|awk 'NR>1&& $1 ~ /^[a-zA-Z0-9].*$/ \
{printf "%s[
Device_%d:
%s] ",$1,
++i,$2
}')
_values 'devices' $(adb devices
-l
|awk 'NR>1&& $1 ~ /^[a-zA-Z0-9].*$/ \
{printf "%s[%s] ",$1,
$6
}')
return
;;
esac
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment