Sounds like exactly what atuin does, atuin probably adds more metadata to track the success of the command and the working directory though.
I like atuin, but I wish it had an option to behave more like bash does. Bash loads your “global” history on starting a new shell, but afterwards doesn’t load commands from different shell sessions into that shell’s history. As far as I could find, atuin is either entirely global, syncing commands from other sessions as you execute them, or entirely session-based, as in your current history is just empty on launch. I don’t like either of those options.
I guess I just want the search of atuin but otherwise default bash behaviour.
+1 for atuin, great tool
zsh envy is dead
It died 13 years ago?
I think, I will borrow the idea, but I likely will use more a log-style date format in the persistent history file like this:
[2026-01-09 12:34:56] command


