Sunday, August 9, 2009

Advanced bash history completion

To extend the bash completion add this:


to /etc/inputrc or your ~/.inputrc

bind -f .inputrc

updates your config without logout/login.

If you type "man" and now press up or down on your keyboard only history entry's starting with "man" will be shown. Very useful.


No comments:

Post a Comment