help-bash
[Top][All Lists]
Advanced

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

Re: A question about COMP_WORDBREAKS and how to remove @ from it


From: Baldurien
Subject: Re: A question about COMP_WORDBREAKS and how to remove @ from it
Date: Wed, 16 Sep 2020 21:18:10 +0200

Le mar. 15 sept. 2020 à 15:12, Chet Ramey <chet.ramey@case.edu> a écrit :
>
> Can you remove it using an assignment statement at the shell prompt? It
> may be that some other part of initialization, e.g., the bash-completion
> setup or other readline initialization, restores the default value.
>
> --
> ``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/

Yes, if I do COMP_WORDBREAKS="${COMP_WORDBREAKS//@/}" (with
bash_completion commented out), the @ is removed and better my
completion works.

However, that's clearly not practical.

It would help me if there were some way to debug bash (I know there is
a debugger) and tell him to print me any script playing with
COMP_WORDBREAKS but that is something I don't know (hence this mail
:)).

Regards,
Baldurien



reply via email to

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