[U-Boot] [PATCH 0/2] cmd: auto-complete args starting with a $

Wolfgang Denk wd at denx.de
Tue Dec 4 09:44:19 UTC 2018


Dear Boris,

In message <20181203220726.19370-1-boris.brezillon at bootlin.com> you wrote:
> 
> It's pretty common to pass arguments that start with a $ and are then
> expanded by the shell, and I'm this kind of lazy guy that hits tab all
> the time and expects the shell to suggest something appropriate. So
> here is a patchset adding support for ${} auto-completion and using the
> new helper from the mtd command.

You mean, this feature depends on MTD support?  this is not goot.

Also, you should make this feature configurable.  Not everybody may
want to use it or may have the memory available.

Technically - should autocompletion not be prevented for escaped
'$' characters, i. e. hitting TAB after a '\$' sequence should NOT
expand?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you use modules, you pay the price. Sane embedded solutions
running in "tight" environments don't use modules :-)
    -- Benjamin Herrenschmidt in <1258234866.2140.451.camel at pasglop>


More information about the U-Boot mailing list