Bash single-tab auto completion


You can tell bash to display possible completions by pressing the tab key only once instead of the usual twice. Add the following to your ~/.inputrc file:

# enable single tab completion set show-all-if-ambiguous on

You will no longer need to hit the tab key twice to show a list of possible completions.

Additionally, you may want to increase the number of possible completions that may be displayed from the default of 100. Add the following to your ~/.inputrc file:

# show more possible completions set completion-query-items 350