News for hackers. Stuff that matters.
Re:Atuin replaces your existing shell history with a SQLite ... by akkartik on Saturday May 06, 2023 @10:19AM (#35841634)
Ah, a fellow packrat! I have every command I ever typed into a shell since around 2005, and my history weighs in at 1 CD or 650MB (as of a couple of years ago)

I'm probably being wasteful of space because I store each session in a separate file. I used to do a lot of data analysis at the shell back in the day, and found it useful to audit sequences of commands afterwards for mistakes, or to turn them into scripts.

Re:Atuin replaces your existing shell history with a SQLite ... by TedDoesntTalk on Saturday May 06, 2023 @12:29PM (#35842867)
This is so insane that I love it. Do you also save your belly button lint since 2005? Or nail clippings? :)
Re:Atuin replaces your existing shell history with a SQLite ... by akkartik on Saturday May 06, 2023 @12:35PM (#35842939)
I'm only a digital packrat. Bits are so much cheaper to hoard, even deciding to throw something away is often more work.
Re:Atuin replaces your existing shell history with a SQLite ... by enriquto on Saturday May 06, 2023 @05:33PM (#35845536)
This is more like saving your old notebooks and drafts, only that they don't take any meaningful space. Or like having a revision control system.

Do you rebase your git repos regularly to delete commits older than 6 months?

Re:Atuin replaces your existing shell history with a SQLite ... by trallnag on Saturday May 06, 2023 @12:33PM (#35842901)
Do you regularly back up your history?
Re:Atuin replaces your existing shell history with a SQLite ... by akkartik on Saturday May 06, 2023 @12:38PM (#35842966)
Oh yes. It gets backed up along with everything else.