Up up and away we go
Up up and away we go
Up up and away we go
I'm not a programmer but I do this on the Linux command line all the time to find a command I used days or weeks ago. Or I'll spend 20 minutes grepping history instead. All to avoid spending 5 minutes reading the manpage so I can remember which flags and arguments I used.
Perhaps pressing [Ctrl]+[R] and typing to search makes it easier, I mean instead of grepping history?
Most terminal emulators support it.
You can also change your query (backspacing and typing again) and press [Ctrl]+[R] multiple times to go to older matches.
I will have to try that, I didn't know that functionality existed, thanks!
Also, atuin.sh.
ctrl+r to do a reverse search of the history instead
May i introduce u to atuin
Nah thanks, up arrow hasnt failed me yet
Have you used fish? The built-in fuzzy matching works pretty well for me. Wondering if there's any reason to add atuin in. Sync seems like a negative to me more than a positive.
Yeah they are compatible. Sync can be disabled entirely or self hosted.
I use fish with atuin but without sync. It is nice because I can search commands for a given workspace. For example the commands within a given git repository.
tap
no
tap
no
tap
no
Okay, NOW it's getting personal!
me typing “sudo !!” instead of rewriting the shell command undoes this.
Who is writing SQL in the terminal?
MariaDB CLI about once in a blue moon when I have to clear some table that's gotten borked.
Was thinking the same thing... now, searching through all my SQL scripts for the past year to find the same logic I want to replicate in another script, well that's different.
I save "template" SQL queries in a special directory so that I don't have to google how to do specific things. It's basically my own personal "examples" folder.
Me in the bash terminal