On 1/23/10 1:04 PM, Peng Yu wrote:
> On Mon, Jan 18, 2010 at 10:00 AM, Chet Ramey <chet.ra...@case.edu> wrote:
>> On 1/18/10 9:49 AM, Peng Yu wrote:
>>> Suppose I have 'some.sh' in my command line, and my cursor is at '.'
>>>
>>> $some.sh
>>>
>>> Suppose there is only one command that start with 'some', which is
>>> 'something.sh'. After I type TAB, I will have 'something.sh.sh' in my
>>> command line.
>>>
>>> $something.sh.sh
>>>
>>> I'm wondering if there is a way to configure bash, so that I will get
>>> 'something.sh' rather than 'something.sh.sh'.
>>
>> There is nothing directly analogous in bash.  The closest thing is the
>> `skip-completed-text' readline variable in bash-4.1/readline-6.1, but
>> that will not help in this case.
> 
> Can I request this feature be added in future version of bash?

Thanks for the suggestion.  I will consider it for a future release.

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


Reply via email to