I just recently started out with MacOS, but there one some strange completion behaviour with the
bash shell (compared to OpenSuse Linux with tcsh where I come from) that is bugging me:
For example, when I am in $HOME and write Pu on the command line, followed by tabbing for completion, I expected that one of the options shown would be my Public/ directory. However, as long as there are executable files, the completion never shows directories that share the same prefix. Only after entering Publ, the tab completion gives me Public/ as there are no more executables with that prefix.
So my question would be, is there an option to have the completion directly show executables and directories with the given prefix?
I already tried upgrading to bash 4 and installing bash-completion via homebrew but that did not help. I suspect that either the MacOS readline behaves differently or that there are some more setting for .inputrc which I do not know about.
I further know that by starting with ./ I only get directories. This is the bandaid that I use at the moment.