[Top][All Lists]

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

Re: Command completion considering characters after the cursor?

From: Chet Ramey
Subject: Re: Command completion considering characters after the cursor?
Date: Sun, 24 Jan 2010 15:27:01 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv: Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 1/23/10 1:04 PM, Peng Yu wrote:
> On Mon, Jan 18, 2010 at 10:00 AM, Chet Ramey <address@hidden> 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.

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

reply via email to

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