hanki.dev

Bash: Use reverse-i-search instead of spamming ↑

There's a faster way to find a command from history than spamming up-arrow on keyboard. Also works on Git Bash!

Press ctrl + r to open reverse history search. Then start typing a command you've entered before. Reverse history search will suggest the first match, and you can cycle through the history by pressing ctrl + r again.

#terminal