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'.