# ZSH Initialization no longer working

**URL:** <https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524>\
**Category:** Bug Reports\
**Tags:** terminal, macos, nightly\
**Created:** [June 5, 2026, 2:48pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524 "2026-06-05T14:48:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladfrangu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vladfrangu/32/110775_2.png) [@vladfrangu](https://forum.cursor.com/u/vladfrangu)\
**Post date:** [June 5, 2026, 2:48pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524/1 "2026-06-05T14:48:46Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

As of the latest nightly version of Cursor, using zsh 5.9.1, launching a terminal starts by throwing a lot of errors related to functions not being defined, and the terminal semi works (you can run commands in the terminal and they more less work but there’s a lot of errors thrown from different hooks and commands).

One weird caveat: I tried launching zsh from bash in the built-in terminal and it had the same issue, but running zsh from iTerm2 works with 0 issues..

### Steps to Reproduce

- Open terminal
- Observe zsh failing to initialize fully

### Screenshots / Screen Recordings

 ![Cursor - 2026-06-05 at 14-41-41-UTC.png](https://us1.discourse-cdn.com/cursor1/original/3X/c/f/cf3741b6c5bf1500b67d258b572431ecd4c9c91f.png)

### Operating System

MacOS

### Version Information

Version: 3.7.12  
Commit: b887a26c4f70bd8136bfffeda812b24194ec9ce0  
Date: 2026-06-05T01:45:12.918Z  
Layout: editor  
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/3.7.12 Chrome/142.0.7444.265 Electron/39.8.1 Safari/537.36

### Additional Information

I’m not fully sure how to help debug why this is happening but I am willing to help debug!  
I also tried switching from Nightly to Release but it couldn’t find an update, so I am assuming I am on a version thats identical on Nightly and Release?

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![paulrusso](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/paulrusso/32/110815_2.png) [@paulrusso](https://forum.cursor.com/u/paulrusso)\
**Post date:** [June 5, 2026, 5:49pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524/5 "2026-06-05T17:49:00Z")

</div>

> [@system](#):
>
> terminal.integrated.shellIntegration.enabled: false

Hey Vlad! I work on the client team here. Could you check if setting `terminal.integrated.shellIntegration.enabled: false`in your user settings resolves this for you?

Thanks,  
Paul

---

<div class="post-metadata">

**Author:** ![vladfrangu](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vladfrangu/32/110775_2.png) [@vladfrangu](https://forum.cursor.com/u/vladfrangu)\
**Post date:** [June 5, 2026, 6:03pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524/6 "2026-06-05T18:03:27Z")

</div>

It actually solved it! (I initially was going to say it didn’t but apparently I had to fully close and re-open the app for the setting to take effect, not just kill the terminal and remake it) 👀

Thanks! Is it safe to assume there’s some broken integration that’ll be fixed? [tbf I haven’t seen terminal integrations in my zsh in…ever, so having this disabled doesn’t really affect me]

---

<div class="post-metadata">

**Author:** ![paulrusso](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/paulrusso/32/110815_2.png) [@paulrusso](https://forum.cursor.com/u/paulrusso)\
**Post date:** [June 5, 2026, 6:25pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524/7 "2026-06-05T18:25:25Z")

</div>

Glad that helped! And yes, we’ll investigate.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [July 16, 2026, 4:25pm UTC](https://forum.cursor.com/t/zsh-initialization-no-longer-working/162524/10 "2026-07-16T16:25:20Z")

</div>

Closed on July 16, 2026, 4:25pm UTC

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