There is a quick way in bash to make tab completion automatically based on the middle of a word.
So, for example, if I have these files in a directory:
001_apple.txt 002_pear.txt 003_dog.txt
I would like to enter the sequence: *d<TAB>to automatically end 003_dog.txt.
Can this be done in bash? Is it easier to do this in other shells?
source
share