Ctrl + R is bash history search
That sounds an aweful lot like typing to me
Keep hitting CTRL+R until you find it and you can hit CTRL+S to scroll forward if you went past it 👌
I’ve used ctrl R for 20 years.
Now I learn of ctrl S. This is a blessed day!
You know you’re allowed to read the docs, right?
read the docs
NNNNEEEERRRRDDDDD
One day of figuring it out avoids 30mim of reading a doc!
I feel dirty for still using
history | grep ls
lolUse fzf for an improved experience!
So basically this? It’s absolutely amazing. Just be warned that it replaces ctrl+R AND up arrow shortcuts by default. You can easily disable the up arrow though.
I’ve not heard about atuin before but seems to do the same thing. I don’t know the specific differences.
zsh if you can survive configuring it
Ctrl-r
That said… I didn’t discover it so early as I should…
If people are going to make comics about me, they could at least let me know.
We tried telling you.
Maybe if you stopped screaming every time we tried, but nooo, SOMEONE has to have issues with the voices in their walls.
They’re never going to find the body anyway. Stop worrying.
id type out
more ~/.bash_history | grep ls
and copy, paste before id type outls
tbhat least you avoided a “useless cat” by using “more” instead. Respect Bro!
Me last Thursday:
user@work5:~$ [CTRL-R] ls
user@work5:~$ ls
me: “That will do…”