Tracking down a Zsh history data loss bug

(michael.stapelberg.ch)

20 points | by ingve 2 hours ago

3 comments

  • mmh0000 13 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...

  • aclindsa 21 minutes ago
    Nice work! I have felt like I lost zsh history before but never looked into it.
  • kevinbaiv 8 minutes ago
    [dead]