I would love to see in the inspector:
- a list of a given set of previous commands executed just before the inspected command
- to be able to change into the directory where the command was run
Usecase:
I often run into the situation that i execute certain commands/scripts two or three times a year in certain directories. With “normal history” i just grep’ed the command and took a look at the 5 commands before the match. Most of the time that helped to “jog my memory”. Currently i have no other option than to jump through the “previous” statements. It is not bad but every time I run into this i wish for a better option.
Maybe this would also be a interesting feature in the history view as a optional column - in which directory was a match executed?
PS: off topic but i love atuin so much i don’t understand how this was not a thing before <3