• Sources: Michael Stapelberg, 2026-08-09, HN discussion
  • Summary: Interrupting a shell while it exits could rewrite the history file from a partial read, producing no error and no visible corruption. The fix reached users in the 2026-07-12 release of Zsh 5.9.2 after the 5.9.1 release engineer missed it.
  • Why it matters: The failure mode is silent, so an operator can lose years of shell history with no signal that a truncation occurred.

send feedback on this story