Monday, June 11, 2012

How do I get bash to autocomplete the first time?

It seems like the default bash behavior is to not show anything if you press tab and there is more than one possibility for tab auto-completion.  It's really annoying.  You can force bash to show all the matching file by editing /etc/inputrc and adding in the following line:


set show-all-if-ambiguous on

No comments: