@jschauma You have my sympathies. I have yet to memorize how to turn off Bash smart/programmable completion (which routinely gets many things wrong when I have to deal with it), but I keep getting closer and closer every time I run headlong into it.
(One problem with Bash's programmable completion is that it puts you at the mercy of whoever wrote the rules for the particular program you're trying to use, and the quality of rules is somewhat variable.)