bug-bash
[Top][All Lists]
Advanced

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

Re: Command completion considering characters after the cursor?


From: Peng Yu
Subject: Re: Command completion considering characters after the cursor?
Date: Sat, 23 Jan 2010 12:04:56 -0600

On Mon, Jan 18, 2010 at 10:00 AM, Chet Ramey <chet.ramey@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?




reply via email to

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