When completing commands, executables in $PATH and all, I would like to omit files named #foo# and bar~. I don't mind having these backup-files laying around, but prefer not to see them when completing commands. Do I need to somehow write a bash-completer function for that?
It's completion of the first word at the prompt I am talking about;
bash# auda[TAB]