Back

Tracking down a Zsh history data loss bug

18 points2 hoursmichael.stapelberg.ch
mmh000018 minutes ago

I have nearly a decade of zsh history. Reading that article I came to the conclusion that I may have been hit by that bug in the past but I haven’t noticed.

Then I kept reading and the author mentions accidentally exporting HISTFILE[1] and I screamed in terror and ran to my computer as I realized a mistake I’ve been making for…ever.

I am now both happy and sad I read this article.

[1] https://github.com/stapelberg/configfiles/commit/32dcda0f49a...

aclindsa27 minutes ago

Nice work! I have felt like I lost zsh history before but never looked into it.

kevinbaiv14 minutes ago

[dead]