bug-bash
[Top][All Lists]
Advanced

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

Re: Why escape char `:' with `\' when auto completing filenames?


From: Clark J. Wang
Subject: Re: Why escape char `:' with `\' when auto completing filenames?
Date: Fri, 18 Feb 2011 19:52:44 +0800

On Fri, Feb 18, 2011 at 6:21 PM, Clark J. Wang <dearvoid@gmail.com> wrote:

> On Fri, Feb 18, 2011 at 6:02 AM, Chet Ramey <chet.ramey@case.edu> wrote:
>
>>
>> For pete's sake.  If you don't think they should be word break characters,
>> modify the value of COMP_WORDBREAKS.  For the record, @ causes a word
>> break
>> so you can complete hostnames more easily, = breaks so you can complete
>> filenames on the rhs of assignment statements, and : breaks so you can
>> complete filenames in words that look like $PATH.
>>
>>
> I don't understand your point. I did a testing by removing @ from
> COMP_WORDBREAKS and then hostname autocompletion still worked fine (e.g.:
> ssh user@host).
>

Sth was wrong for my testing. I removed @ from COMP_WORDBREAKS but
afterwards one bind command (bind "set bell-style none") added @ back.


>
>
>> Are we really spending this much time on a cosmetic issue?
>>
>> --
>> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>>                 ``Ars longa, vita brevis'' - Hippocrates
>> Chet Ramey, ITS, CWRU    chet@case.edu
>> http://cnswww.cns.cwru.edu/~chet/
>>
>
>
>
> --
> Clark (Jian) WANG
>
>


-- 
Clark J. Wang


reply via email to

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