re: What are your CLI go to commands and aliases? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Instead of history | grep 'something', you can just use Ctrl+R to search your history. I use zsh + prezto which adds sub-string search.
 

+1. Also, when you've narrowed the search, you can continue hitting Ctrl+R to navigate backward in time, through all the commands that match.

 

I'm sold if you can tell me a way to get back to exactly where I was when I started after I find what I need.

IIRC, you can press tab and that will dump your cursor at the end of the line, once you've found the command you want.

code of conduct - report abuse