Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ktoso/adb-bash_autocomplete

bash autocompletition for adb
https://github.com/ktoso/adb-bash_autocomplete

Last synced: 29 days ago
JSON representation

bash autocompletition for adb

Awesome Lists containing this project

README

        

Android Debug Bridge Bash Completition
======================================
This script is a simple bash completition file, which allows you to easier work with `adb`.
For example you can now:

```
ktoso@dynames $ adb -s
037c70c44240f517 HT9C3L902456

ktoso@dynames $ adb -s H
ktoso@dynames $ adb -s HT9C3L902456
bugreport disconnect get-serialno install logcat push remount start-server uninstall wait-for-device
connect emu get-state jdwp ppp rcpip root status-window usb
devices forward help kill-server pull reboot shell sync version
ktoso@dynames $ adb -s HT9C3L902456 sh
ktoso@dynames $ adb -s HT9C3L902456 shell
$
```

Install How-To
--------------
The installation is super simple, just make sure you have bash-completition and run this command:

```
curl https://raw.github.com/ktoso/adb-bash_autocomplete/master/install.sh | sudo bash
```

What it actually does is this, if you'd rather paste in the full installation code.

```
su -
cd /etc/bash_completion.d/
rm adb
wget https://github.com/ktoso/adb-bash_autocomplete/raw/master/adb
exit
echo 'done!'
```