-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell integration zsh hooks don't load on macOS/Linux sometimes #141620
Comments
Can repro with plain zsh installed via apt |
The problem lines are:
I tried to use autoload and add-zsh-hook which I think is the more portable way to do this, but I get |
It's a shame but let's defer, we can call out that there's a known issue with zsh in the release notes. |
There's also some issue @rzhao271 was hitting which seems related to using macOS' default zsh, not the homebrew install #140784 (comment) |
I had the same problem with under Linux (with oh-my-zsh, don't know if this relevant). The following changes to the integration shell script helped: Add as first line: #!/bin/zsh Added at line 49: Change line 50 and 51 to: |
@gmessow-cxomni thanks for the info, I'm relatively new to zsh scripting so this should be handy |
Spent some time looking into this and here's my understanding of what's happening. We launch zsh with shell integration using:
Since |
Can't verify, due to #143389 |
Added verification steps needed to deter people from trying until it's fixed (hopefully today or tomorrow: #143629) |
Ready to verify after today's insiders goes out |
Actually, this has the same verification steps as #143629 so adding verified here and deferring to that issue. |
Testing #141339
I get this error in the terminal, on Linux using zsh
The text was updated successfully, but these errors were encountered: