I find myself using ctrl-r less and less as I make sure that anything of value that I work out goes into a Makefile or the app tooling, for me this is the basis of the dev-ops approach to work (make sure everything is scripted, not worked out on the fly).
Ctrl+r is great, sometimes. History saving sucks which can make using it difficult, but i usually use it out of laziness than trying to recall a command, especially with ssh or repeated iterations requiring flipping between two settings/states. Its hard to rely on it for other things, but its still super useful.
I use history | grep quite a lot, because of the non-fuzziness with default ctrl+r. If I know exactly what the substring is, then that's great, but sometimes I also want to see the sequence around the command too (e.g. two step processes like eval ssh agent + ssh add key)
well not specificlly but its bound to it. Having durable history stored in an SQL database (with secrets filtering and option syncing) you can search global history, or local. (as in if you have two terminals open, you can just search the commands you've typed in one terminal for that session, that session plus history or that session plus what you've just typed in any other session. )
cachvico · · focus · HN ↗
CableNinja · · focus · HN ↗
throwaway219450 · · focus · HN ↗
FlyingSnake · · focus · HN ↗
jamiejquinn · · focus · HN ↗
RSHEPP · · focus · HN ↗
jamiejquinn · · focus · HN ↗
samdixon · · focus · HN ↗
rootlocus · · focus · HN ↗
reddit_clone · · focus · HN ↗
Still, Zsh history with fzf fuzzy searching is fantastic. I have years of history I can recall commands with a few keystrokes.
Truly a second-brain.
BeetleB · · focus · HN ↗
And as another commenter said, you often forget the target, and use Ctrl-r to find it. Although just does support fzf...
KaiserPro · · focus · HN ↗
well not specificlly but its bound to it. Having durable history stored in an SQL database (with secrets filtering and option syncing) you can search global history, or local. (as in if you have two terminals open, you can just search the commands you've typed in one terminal for that session, that session plus history or that session plus what you've just typed in any other session. )
Its awesome