aboutsummaryrefslogtreecommitdiffstats
path: root/bash_completion/README
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-07-15 10:49:53 -0700
committerKenny Root <kroot@google.com>2011-07-15 10:52:56 -0700
commit1ffbf6312959446cd1256fcdf030b17dc043ed20 (patch)
tree4dfb4f25e0cc5adf6a02988577d6bfe4c67b616c /bash_completion/README
parent721d33f854f3e866b05aa76b997a71ca0bcc41e2 (diff)
downloadsdk-1ffbf6312959446cd1256fcdf030b17dc043ed20.zip
sdk-1ffbf6312959446cd1256fcdf030b17dc043ed20.tar.gz
sdk-1ffbf6312959446cd1256fcdf030b17dc043ed20.tar.bz2
Add bash_completion scripts for adb
Adds rudimentary support for bash_completion using adb. It supports all the optional arguments for adb, completion of individual commands, and support for calling into the "shell" function and filename completion within the shell. Change-Id: I8e5ca53f3988140dc169a2e353dd92ff0438d6b7
Diffstat (limited to 'bash_completion/README')
-rw-r--r--bash_completion/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/bash_completion/README b/bash_completion/README
new file mode 100644
index 0000000..55461cf
--- /dev/null
+++ b/bash_completion/README
@@ -0,0 +1,13 @@
+This directory contains scripts that are intended to be used with
+Bourne Again SHell (bash)'s programmable completion.
+
+See http://www.gnu.org/s/bash/manual/bash.html#Programmable-Completion for
+more information on programmable completion in bash.
+
+To use the scripts, simply source them into your environment. Example:
+
+ source sdk/bash_completion/adb
+
+or:
+
+ . sdk/bash_completion/adb