# Installing on macOS kills zsh history?

**URL:** <https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881>\
**Category:** Getting Help\
**Created:** [June 8, 2023, 10:10pm UTC](https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881 "2023-06-08T22:10:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tnmears](https://forum.golangbridge.org/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@tnmears](https://forum.golangbridge.org/u/tnmears)\
**Post date:** [June 8, 2023, 10:10pm UTC](https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881/1 "2023-06-08T22:10:45Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![Dean\_Davidson](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/dean_davidson/32/9685_2.png) [@Dean\_Davidson](https://forum.golangbridge.org/u/Dean_Davidson)\
**Post date:** [June 9, 2023, 4:34pm UTC](https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881/2 "2023-06-09T16:34:00Z")

</div>

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/](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.

---

<div class="post-metadata">

**Author:** ![tnmears](https://forum.golangbridge.org/letter_avatar_proxy/v4/letter/t/ecd19e/32.png) [@tnmears](https://forum.golangbridge.org/u/tnmears)\
**Post date:** [June 9, 2023, 10:40pm UTC](https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881/3 "2023-06-09T22:40:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [September 7, 2023, 10:41pm UTC](https://forum.golangbridge.org/t/installing-on-macos-kills-zsh-history/31881/4 "2023-09-07T22:41:13Z")

</div>

Closed on September 7, 2023, 10:41pm UTC

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