Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab completion in adb shell

Tags:

android

The only thing I found is to cross compile bash. Is there another way to have tab completion in the Android shell?

like image 364
Daniel Avatar asked Feb 17 '10 09:02

Daniel


People also ask

What is shell command completion?

Click provides tab completion support for Bash (version 4.4 and up), Zsh, and Fish. It is possible to add support for other shells too, and suggestions can be customized at multiple levels. Shell completion suggests command names, option names, and values for choice, file, and path parameter types.

What is TAB autocomplete?

Using autocomplete is as simple as pressing the [TAB] and the active command line options will fill-in. If more than one option is available, you can hit [TAB] twice to display all possible choices and continue typing until there is only one matching choice left.

Does Bash have tab completion?

The programmable completion feature in Bash permits typing a partial command, then pressing the [Tab] key to auto-complete the command sequence. [1] If multiple completions are possible, then [Tab] lists them all. Let's see how it works. Tab completion also works for variables and path names.


1 Answers

Not a director answer but someone posted a pre-compiled binary of bash using those instructions of mine here.

like image 113
Kyle Brandt Avatar answered Oct 27 '22 00:10

Kyle Brandt