That’s the name of the turtle on Discworld
Something something magical shell history
A’tuin
Bless you
There’s also McFly which I slightly prefer, just because the interface looks a bit nicer. Although it does have an annoying missing feature - you can’t scroll through the history.
I use that one too but the development isn’t really active anymore.
Why?
i for one can’t be bothered to remember, for example, the syntax to add a new gitlab project to the allowed list of a hashicorp vault policy :) - i use
zsh
withfzf
andag
, so ictrl+r
to find the last time i used this, adjust, execute.there are many use cases for checking out your shell’s command history…
That’s not my point. Every shell already has history. What’s the difference here?
- It has a nice interface for searching history - nicer than the history search included with the shells I’ve used
- It has a “workspace” mode - it remembers which directory commands were run in, which gives you the option to limit history search to commands run in the same directory, which are often most relevant to the project you’re working on in that directory
- If you want you can back up, or sync history to multiple machines. I know I’ve been in situations where I know the command I want is in history, but it’s in history on my desktop, and I’m on my laptop at the moment
Bash by default limits history to ~1000 items iirc, and doesn’t store anything but the command itself