On 6/25/21 10:53 AM, Pedro Gimeno wrote:
Bash Version: 4.4
Patch Level: 12
Release Status: release

Tested also in the last version from this unofficial mirror: https://github.com/bminor/bash so I guess it's still a problem.

Tab auto-completion removes quotes from variables even when it shouldn't.

Thanks for the report. This is a known issue for which I haven't decided on
an acceptable solution. The interface between readline and the calling
application (in this case, bash) makes it kind of clumsy.

You can work around it by setting the `direxpand' shell option, which has
the effect of expanding variables in the directory name and the side effect
of quoting them.

Chet


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to