.inputrc
A few days ago I found this blog explaining how to improve the tab completion by tinkering with your .inputrc.
The magic lines are:
set show-all-if-ambiguous on
set completion-ignore-case on
set completion-map-case on
Last two lines make tab-completion ignore case, hyphens, underscores, the first one spares you one tab when more than one match was found. Very neat! I would have never found out, since there wasn’t even an .inputrc in my home directory.
Do you know any other cool .inputrc-tricks?