28
Keeping persistent history in bash
(eli.thegreenplace.net)
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
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