Keeping persistent history in bash

https://eli.thegreenplace.net/2013/06/11/keeping-persistent-history-in-bash

28 points · 5 comments · view on lemmy.world

5 Comments

Moussx@programming.dev · 10 pts · 210d (2 replies)

Sounds like exactly what atuin does, atuin probably adds more metadata to track the success of the command and the working directory though.

Ghoelian@piefed.social · 3 pts · 209d

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.

shiftymccool@piefed.ca · 2 pts · 210d

+1 for atuin, great tool

kumi@feddit.online · 2 pts · 210d (1 reply)

zsh envy is dead

FishFace@piefed.social · 1 pts · 210d

It died 13 years ago?

poinck@lemmy.world · 2 pts · 210d
[ removed ]