Tracking down a Zsh history data loss bug

·Hacker News··

For many years, I sometimes discovered that commands I was sure I had run were no longer present in my Z shell history file (~/.zsh_history). In this article, I will show you how I tracked down the bug. Spoiler: ultimately, patching Zsh to make it crash loudly and analyzing the crash’s core dump was the winning strategy!

Read full article →

Related Articles

AI has access to a vastly larger working memory than the human brain
rzk · Hacker News · 6h ago
Semaglutide linked to lower predicted dementia risk
randycupertino · Hacker News · 8h ago
Firefox is now the last major browser that still supports uBlock Origin
DemiGuru · Hacker News · 1d ago
Abdominal fat predicts heart disease risk better than BMI
theanonymousone · Hacker News · 3h ago
GLM-5.3: Frontier coding with emergent cyber capabilities
pella · Hacker News · 1d ago