[PATCH] ash: perform autocompletion on builtin commands

Sven-Göran Bergh sgb-list+busybox at systemaxion.se
Fri Oct 24 18:54:22 UTC 2014


Just source /etc/bash_completion in either .bashrc or .profile.
ash will pick it up and use it in the same way as bash.
Have never had any problem with this. Works like a charm.

Brgds
/S-G

On 10/24/2014 05:20 PM, John Spencer wrote:
> Matteo Croce wrote:
>> Refactor read_line_input to accept a list of strings which are
>> added byt the autocompletion suggestions.
>> Let ash pass the builtin command list to read_line_input to enable
>> completion of builtin commands as echo, printf, history, exec, etc.
>
> nice. could this mechanism be used to expand ~ to the contents of $HOME
> for autocompletion ? lack of this expansion is currently my major
> annoyance with ash and the reason i still use bash...
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list