Live data from Hacker News

Atuin – Magical shell history

atuin.sh

31–40 of 118 posts

Re: Atuin – Magical shell history

#33

I mostly really like atuin, but it has been causing some random other breakage in my shell that has me on the verge of replacing it with something simpler. A quick search comes up with https://github.com/atuinsh/atuin/issues/1696 , which indicates I'm not alone.

That bug report is 12 days old...

And some bug reports are 20 years old. A broken workflow is a broken workflow.

Re: Atuin – Magical shell history

#34

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

I would occasionally manage to start a bash shell without executing my profile, which means HISTFILESIZE is not set and bash would truncate my history on the first command I ran. zsh history may have a similar problem.

Re: Atuin – Magical shell history

#36

I mostly really like atuin, but it has been causing some random other breakage in my shell that has me on the verge of replacing it with something simpler. A quick search comes up with https://github.com/atuinsh/atuin/issues/1696 , which indicates I'm not alone.

I've now explained in that issue why it's broken, why it's probably unfixable for atuin, but why replacing fc with an equivalent feature in atuin sounds pretty doable.

Feel free to open a feature request before I do.

Re: Atuin – Magical shell history

#37
post #13

I love how it looks and I love some of the fancy features. But above all, it's a solution to two real problems I had. I work in several terminals. Sometimes tabs or Windows in my emulator, sometimes screen or tmux. And all those sessions would overwrite eachothers history. I lost many actual important history entries that way. And I (almost) ran many wrong commands, expecting another one to be my last entry. Arrow-up…

Agreed! This is my exact use case for Atuin and it works great, except it replaces the default, minimal control-r interface.

Re: Atuin – Magical shell history

#38

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

This is exactly why I'm considering using atuin also. My zsh history on my mac will sometimes just completely disappear and then I have to go lookup what I was trying to do again. It is driving me crazy.

Re: Atuin – Magical shell history

#39
post #17

Earlier quoted context omitted.

All that jumps out to me from that page is sync, which is nice, but not life-changing. I guess I’m looking for more of a personal experience anecdote, where someone could explain how its other features made it worth signing up for another sync service and learning a new thing. It may be the best thing since sliced bread but that page doesn’t say why I should try it.

- all the data is stored in a sqlite db, so it's actually structured, as opposed to just being in an adhoc text format - this matters because it's capturing not just what commands were run, but metadata about the commands as well. Of particular interest to me is that ot captures the start and end time for every history entry so you can get timing data even if you forget to use `time` - it provides much more fine-grai…

> Of particular interest to me is that ot captures the start and end time for every history entry so you can get timing data even if you forget to use `time`

That’s potentially an incredible useful feature to integrate with all that metadata! Very very interesting.

Re: Atuin – Magical shell history

#40
post #38

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

This is exactly why I'm considering using atuin also. My zsh history on my mac will sometimes just completely disappear and then I have to go lookup what I was trying to do again. It is driving me crazy.

This happens to me also!! Does anybody know why? I ignore it as macos is a secondary and less critical environment for me but it’s really annoying.
Post reply on HN