ZSH Initialization no longer working

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

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

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

Thanks,
Paul

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) :eyes:

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]

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