Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I definitely want to keep every single shell command I ever executed, including mistakes. And I want to track across machines, projects, etc.

Lately I have been using atuin for this. I have some gripes about interface defaults, and how the interactive search for history wipes out most of what was on my terminal view and causes a big "wtf was I doing again?" moment when it changes the terminal so much, but the tradeoff of shared history is very very much worth it for me.




Why keep the mistakes? Just curious.


So you don't make them again?

AI Agents using tools also benefit from seeing past usage of the tools (what worked, what didnt) to help them inform future usage


It’s difficult to distinguish whether the command failed because of a typo or because the program it launched crashed.

I was thinking about this the other day and I was specifically trying to think of a way to avoid the command typos ending up in the history file. I don’t think it’s useful to keep those around.


I have a zsh-plugin that suggest correct commands on typos, and also that suggests aliases if i dont use them but one was available.

But yea maybe removing them from history so dont they auto-comlete is a good call


Mistakes often have side effects, and sometimes I don't notice it until later. It's good to come back to a project after a week and try to see where unintentional effects may have come from.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: