The“Run script” in the sidebar uses the default shell
Summary
I changed“Terminal.shell” to“Pwsh” in the settings, opening a new terminal works, but the“Run script” button opens“C: Windows | System32 Windows powershell v1.0 powershell.exe”, i don't know if it's a bug or an extra setting, if it's an extra setting, please tell me where it is, I can't find it in the documentation
Actual Behavior:
Expected Behavior:
Zed Version and System Specs
Zed: v0.177.9 (Zed) OS: Windows 10.0.26100 Memory: 31.8 GiB Architecture: x86_64 GPU: Intel(R) UHD Graphics 750 || Intel Corporation || Intel driver
On macOS with current Zed Nightly, I am not able to reproduce. My runnables spawned from the sidebar are being directly spawned, not spawned via a shell subprocess.
I believe this recently changed, and at least for rust, we are now relying on rust-analyzer for runnables and (for me) when I spawn these they don't have a shell.
- https://github.com/zed-industries/zed/pull/28359
Can you see if you're still seeing this behavior in a up to date Zed? Thanks for reporting and apologies for the slow reply.
On macOS with current Zed Nightly, I am not able to reproduce. My runnables spawned from the sidebar are being directly spawned, not spawned via a shell subprocess.
I believe this recently changed, and at least for rust, we are now relying on rust-analyzer for runnables and (for me) when I spawn these they don't have a shell.
Can you see if you're still seeing this behavior in a up to date Zed? Thanks for reporting and apologies for the slow reply.
Still the same.
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!
This is likely fixed by now