News for hackers. Stuff that matters.
Re:Show HN: Hucksh – A Shell with a Very Good Memory by yjftsjthsd-h on Thursday December 21, 2023 @10:54AM (#38722057)
> I love the idea of having a database of the commands you’ve run and their output.

Once upon a time, I rigged... I can't recall if I did it in tmux or the shell profile, but I made my system spawn every new shell under script(1) by default (with some logic to check that you weren't already nested to avoid infinite loops, and some way to start a shell that didn't use it just in case), which resulted in a nice directory with text files listing every terminal session i had. I think it ended up not being all that useful and there was either real or perceived performance impact so I didn't bother implementing it again when I switched machines, but the idea did seem neat.

There are no comments on this comment yet.