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

US sanctions force The Netherlands off Microsoft and toward alternative NixOS
mywacaday · Hacker News · 14h ago
How Delhi cut electricity loss from 50 to 5 percent
rbanffy · Hacker News · 13h ago
500k facial scans at UK stations yield no arrests, 1 false positive
ilamont · Hacker News · 14h ago
Livenerf: Has Opus 5.5 been nerfed yet?
bryan0 · Hacker News · 3h ago
A Privacy Analysis of Web and Mobile Conversational AI Agents [pdf]
damaru2 · Hacker News · 16h ago