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

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




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: