Installing on macOS kills zsh history?

Just installed using the latest installer from go.dev on latest Ventura (13.4).

Immediately zsh in Terminal.app stops remembering history.

The way I found to get zsh to remember history at the moment is adding

setopt INC_APPEND_HISTORY

to ~/.zshrc

Is there another way around this? This has happened to me on two seperate machines. I explicitly tested zsh before installing.

No clue what would cause that. I did see some general stuff about the terminal not saving history depending on how you close it:

https://www.reddit.com/r/MacOS/comments/12cwi4a/zsh_command_history_suddenly_not_being_saved/

Wondering if that could be related. Did you try ITerm2? I use it when I develop on MacOS and it’s really good.

No I didn’t try iterm2. Like I said, I had tested the history immediately before installing and immediately afterwards.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.