Live data from Hacker News

Atuin – Magical shell history

atuin.sh

1–10 of 118 posts

Re: Atuin – Magical shell history

#2
Atuin has been the absolute best CLI tool I’ve found in years.

I use it every single day that I’m at a computer. It's very easy to learn (2 or 3 essential hotkeys), and makes finding old shell commands a breeze. I was able to self-host the sync server in well under an hour, start to finish.

(@ellie - if you see this thread, thanks for all the elbow grease you put in! You’ve built something really special.)

Re: Atuin – Magical shell history

#3
Recently installed Atuin and found it to be overall net positive. A couple of habitual keystroke combos had to be reprogrammed from my brain but the persistence of shell history + better searching is pretty awesome.

Also the stats are a neat add-on.

Overall would recommend to almost any developer.

Re: Atuin – Magical shell history

#4
Really impressed with the self-host setup.

I've found these are usually a bit of an afterthought, involving a bunch of service dependencies and an arcane config process.

Postgres 14 and a few tweaks to a TOML file and you're running.

Not wild about the password-only Postgres connection though.

Re: Atuin – Magical shell history

#6

Why is this better than a shell's built-in history, possibly paired with fzf? I'm not asking sarcastically, either. Is this something awesome I should be using? What about it is going to blow my mind?

The features listed on the site already tell you what it has that regular shell history + fzf doesn't have. You can decide if that makes it better.

Re: Atuin – Magical shell history

#8
I switched a year or two ago

It wasn't until I switched that I realized how poor bash and zsh are in comparison, even with fzf

10 min install, never looked back

Not to mention the safety. Never could figure it out, but once every 15 months or so, zsh would disappear my history. Certainly a mistake on my end, but still too easy to blow away history

Re: Atuin – Magical shell history

#10
Please oh please, can someone hack a way to get shell history expansion!? The most objectionable thing about shell history to me is that it's not what I typed!

Mainly a zsh user & I've looked up & down & all around, but I cannot find a way to keep track of what I actually typed, versus what got ran! I really want to better be able to identify patterns, look at what I was typing. Show me !-1$, the last word of the last command!

I need this to learn & improve my expansion capabilities better. I need this to see how my history evolved, to backtrack & see where else any given line was pointing at. Shell history feels devoid of the most important context I craft; I summon birds from hats and my shell history just says: there was a bird here. Hiss boo.

Post reply on HN