zed icon indicating copy to clipboard operation
zed copied to clipboard

The“Run script” in the sidebar uses the default shell

Open chenxiang0010 opened this issue 9 months ago • 1 comments

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:

Image

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

chenxiang0010 avatar Mar 17 '25 16:03 chenxiang0010

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.

notpeter avatar Apr 30 '25 13:04 notpeter

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.

chenxiang0010 avatar May 04 '25 06:05 chenxiang0010

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!

github-actions[bot] avatar Nov 19 '25 09:11 github-actions[bot]

This is likely fixed by now

Veykril avatar Dec 01 '25 08:12 Veykril