I've had this problem for a while. Say in /home/me/ I have "cat3" as a directory. Now, in my Bash shell, I do "$ cat[tab]". My tab cycles through: cat, catchsegv, catman. But no "cat3". If I do "cd cat[tab]" then it immediately gives cat3. It's very annoying because sometimes I have a script "cat3/test.py" with 555 permission.
Ideally I want to type "c[tab]t[tab][enter]" to run the script. But I have to type "cat3/t[tab][enter]"...
How can I have tab consider directories & executable files inside the CWD, before it looks at stuff from /usr/bin or whatever?
Thank you for you help!
./c[tab]instead?