This question already has an answer here:
I have a script called
teleport in my path. When I type
tele and hit tab, I'd like for tab-completion to complete this to
However, there's another program installed on my system:
telepathy-gabble-xmpp-console This starts with the same letters, so tab completion only gets up to
If this were my system, I would just remove that one executable to improve my workflow. However, this is a shared server. (Accounts are not shared.)
Alternately, I could change my
$PATH to exclude it. However,
telepathy-gabble-xmpp-console is in
/bin, and obviously I can't just remove
/bin from my path.
The solutions described in this thread don't work, because defining a function or alias will still autocomplete to that function or alias.
How do I take a single executable out of my
(Yes, I realize that this is a lot of work for a small benefit.)