Hacker News new | past | comments | ask | show | jobs | submit login

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: