Live data from Hacker News

Atuin – Magical shell history

atuin.sh

41–50 of 118 posts

Re: Atuin – Magical shell history

#41
Looks neat and I'd like to try it. I wonder how well it would work from within a GNU Emacs shell buffer (comint based, I think) running bash. Has anyone given this a shot?

Re: Atuin – Magical shell history

#43
I've been using this for a couple months after using McFly in zsh for over a year. I think I can say that I like it better, but the only thing I sometimes don't like is how it completely takes over your screen when you press the up arrow. I usually just want to get the previous command I entered instead of the whole searchable history (which I use Control-R to bring up), and it's really jarring to have the entire screen change. Aside from that, it's really awesome to have everything synced across a bunch of machines.

Re: Atuin – Magical shell history

#44

I've been using this for a couple months after using McFly in zsh for over a year. I think I can say that I like it better, but the only thing I sometimes don't like is how it completely takes over your screen when you press the up arrow. I usually just want to get the previous command I entered instead of the whole searchable history (which I use Control-R to bring up), and it's really jarring to have the entire scr…

Same here, but you can disable that behaviour, and then it’s nicer [0].

I also find that I prefer the default Ctrl-R to start with history from the current directory instead of the global history, but that is also changeable. So I’m pretty happy.

[0]: https://docs.atuin.sh/configuration/key-binding/#disable-up-...

Re: Atuin – Magical shell history

#45

Anyone try this and fish shell? How do they compare? Thanks!

I've tried it with fish and found that, for me, it didn't add much and wasn't worth the switch, but it is arguably slightly better than fish's built-in history; so I'd say only bother if you particularly love learning new things of this type.

Re: Atuin – Magical shell history

#47
post #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.)

Any links in the self-hosting options? I had some saved but lost them.

https://docs.atuin.sh/self-hosting/server-setup/

Re: Atuin – Magical shell history

#48

Anyone try this and fish shell? How do they compare? Thanks!

I use it with Fish. It's basically a nice UI around doing history | rg pipes.

Agreed, I use this in conjunction with Starship [1], both initialized specifically for Fish in the config. I love this shell so much.

[1] - https://starship.rs/

Re: Atuin – Magical shell history

#49

I've been using this for a couple months after using McFly in zsh for over a year. I think I can say that I like it better, but the only thing I sometimes don't like is how it completely takes over your screen when you press the up arrow. I usually just want to get the previous command I entered instead of the whole searchable history (which I use Control-R to bring up), and it's really jarring to have the entire scr…

If you're comfortable with shell scripting, you can get that today. There's code for a number of shells in this issue https://github.com/atuinsh/atuin/issues/798

Adding it to Atuin will take a bit of work to keep it from being too brittle, so it hasn't yet been done.

Post reply on HN