upvote
Ctrl + R is great, you don't have to type out --dangerously-skip-permissions
reply
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.
reply
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)
reply
I do that too. I am trying to use Mise. (Getting interested in Maak. Haven't done anything with it yet. My Scheme is pretty rusty)

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.

reply
Yes, but how do I know what should go in the justfile? When I've realized I've used Ctrl-r for the same thing a few times :-)

And as another commenter said, you often forget the target, and use Ctrl-r to find it. Although just does support fzf...

reply
I’m lazy so With fish, I just type a part of the command and press up few times to get to where I want. There’s also fish-fzf.
reply
I've relied on this so much that I copy my entire history between machines...
reply
Self hosted Atuin would do this for you too. Unless you don't want the added tooling/complexity
reply
Ahh I only do this when reinstalling or moving to a new laptop but it's good to know about Atuin for the future!
reply
ctrl+r still great for targeting your make targets :)
reply