Let's say I have a directory with a few files in it like this:
$ ls
file1 file2 file3
And I want to do some tab completion in bash:
$ cat file<tab>
file1 file2 file3
I remember seeing someone doing tab completion and the shell bolded the next parts, so in this case, it would bold the 1
, 2
and 3
of the filename so it'll look like this: file1 file2 file3
which will tell you what you should type in next.
I think this was a feature of zsh
, but is there any way to get it in bash
?