In bash is there a quick way to do tab auto-completion 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 type the sequence: *d<TAB>
to auto-complete 003_dog.txt.
Can this be done in bash? Is it easier to do in other shells?