How can I disable bash completion for everything except filesystem paths?
But even for paths, I don't want anything interpreted.
For example, if I do:
# sh -f fo<tab>
and there's a file foo.txt, it doesn't work whereas if the file were foo.sh it would. I assume bash is trying to "help" me here. I've been using Linux for a long time and I don't want bash completion to do anything that assumes to know what I'm thinking. I don't want it to look into zip files or guess hostnames. I just want plain path name completion and nothing else.
/etc/bash.bashrc
. Can you check if that is the case in your distribution?