I have two commands, foo
and foo-bar
, where foo
is a symlink to foo-bar
. I want to be able to type f
+TAB (pretend these are the only two commands on the path that begin with f
) and have one of them be completed (meaning the full name and the space after).
What ends up happening though is that it completes to just foo
(no space) because of foo-bar
. It's obviously not much work to then just hit the space bar, but this interrupts my flow.
Some additional details:
foo
andfoo-bar
are in the same directory.- Deleting/moving
foo
isn't an option (I've hidden some details).
Is there a way to ignore a specific path entry?