Best command line configuration to insane mode usage

04 April, 2016
Linux

Software engineers who use command line often use reverse search (ctrl + r) to look up to what commands you used recently.

Sharing a configuration setup which you can use to look up your recent searches after you have typed a couple of letters and want to reverse search.

Go to your home folder and place this in your .inputrc file and save it.

"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on

Open a new terminal and type in few letters of your favourite command and press up and down keys to select your commands of your choice and booyah. Enjoy

Let me know if you find it useful

Thank you for taking the time to read this post. If you're considering using Digital Ocean, the hosting provider this blog is hosted on, please consider using this link to sign up.