DEV Community

Discussion on: Instant +100% command line productivity boost

 
jospoortvliet profile image
Jos Poortvliet

It does work that way - I type, hit arrow-up to cycle through previous times I typed that command. No ctrl-R required.

You put in your .inputrc:

arrow up

"\e[A":history-search-backward

arrow down

"\e[B":history-search-forward

;-)

Thread Thread
 
paveltrufi profile image
Pavel Razgovorov

Wow, I'll try this when I arrive home just for the curiosity xD