28
Keeping persistent history in bash (eli.thegreenplace.net)
top 6 comments
sorted by: hot top controversial new old
[-] Moussx@programming.dev 10 points 2 days ago

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 points 2 days ago* (last edited 2 days ago)

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 points 2 days ago

+1 for atuin, great tool

[-] poinck@lemmy.world 2 points 2 days ago* (last edited 2 days 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

[-] kumi@feddit.online 2 points 3 days ago
[-] FishFace@piefed.social 1 points 2 days ago

It died 13 years ago?

this post was submitted on 10 Jan 2026
28 points (100.0% liked)

Linux

11046 readers
360 users here now

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

founded 2 years ago
MODERATORS