Command completion considering characters after the cursor?
From:
Peng Yu
Subject:
Command completion considering characters after the cursor?
Date:
Mon, 18 Jan 2010 08:49:25 -0600
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'.