Michael Stapelberg personal blog

Tracking down a Zsh history data loss bug

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…
Points
123
HN comments
38
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2026

On Hacker News

SubmittedTitle on HNPointsComments
Aug 15, 2026Tracking down a Zsh history data loss bug by ingve12338

More from Michael Stapelberg

All 19 posts →

Related posts from the same era