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.

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