Last active
December 22, 2017 15:09
-
-
Save safaorhan/f6d1d8594e8749f4435dbbf0d266dbdf to your computer and use it in GitHub Desktop.
Connects to first available android device. Useful if you make an alias.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias adbc="source ~/.bash_profile && adb -s $(adb devices | grep -E -e '^(.+)\s+device$' -o | grep -E -o -e '(.*)\s') shell" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment