Since tab completion became a standard feature in shells I have been a very happy user of it. I even like Bash's intelligent completion (where it only searches for PDF files, if I type evince foo<TAB>) - as long as it guesses correctly.
It ruins an otherwise happy day when Bash uses its intelligent completion to refuse completing.
Today I wanted to:
tar xvf centos5.8_x86_1.ova
So I entered:
tar xvf cent<TAB>
and Bash refuses to complete the path because .ova-files is not what you usually use with tar.
I know I can uninstall the bash-completion package to remove the intelligent completion. But can I have my cake and eat it too?
Can I ask bash to use intelligent completion first, and if that fails, then use non-intelligent completion?