help-bash
[Top][All Lists]
Advanced

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

Re: Exclude builtins from command completion


From: Chet Ramey
Subject: Re: Exclude builtins from command completion
Date: Thu, 23 Jan 2020 15:55:31 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 1/23/20 3:53 PM, kaycee gb wrote:
> Le Thu, 23 Jan 2020 14:25:57 -0500,
> Chet Ramey <address@hidden> a écrit :
> 
>> On 1/23/20 8:51 AM, kaycee gb wrote:
>>
>>> I understand that by application-settable variable, you mean it can't be
>>> altered at run time, like COMP_WORDBREAKS for example. All the references to
>>> rl_completer_quote_characters I can find are with c/c++/python/... code. Is
>>> there any chance to change that variable without having to rebuild
>>> something ? Which is not really portable in my opinion and in my case :/
>>
>> Applications linked with readline can modify that variable. Whether they
>> choose to expose that to the user is optional, and bash doesn't expose it
>> to the user like it does with COMP_WORDBREAKS. I'm not sure any
>> applications that use readline do.
>>
> I see. I hope that completing a colon would not happen too often with this
> project.

How is that connected with whether or not readline performs completion on
quoted strings?

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



reply via email to

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