bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab auto-completion removes quotes from variables even when it shoul


From: Alex fxmbsw7 Ratchev
Subject: Re: Tab auto-completion removes quotes from variables even when it shouldn't
Date: Fri, 25 Jun 2021 20:40:15 +0200

i vote for script style api'ing readline

On Fri, Jun 25, 2021, 20:38 Chet Ramey <chet.ramey@case.edu> wrote:

> 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    chet@case.edu    http://tiswww.cwru.edu/~chet/
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]