You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Zed uses powershell as the default shell on Windows. It would be nice if Zed defaulted to using pwsh if detected on the user's system.
Background
On Windows, Windows PowerShell (aka powershell.exe (versions 1-5.1) is bundled as the system shell.
In 2019, Microsoft released pwsh 7 as an OSS and cross-platform re-implementation and modern replacement for powershell 5.1. pwsh, however, is NOT bundled with Windows and is actually what the update nag message that shows up everytime you launch powershell is referring to.
The new PowerShell is vastly superior, and Zed should consider preferring it when available, especially given that there is no equivalent to chsh for defining a user's preferred Shell like there is on macOS/Linux/etc.
I was using the option in the config to set the terminal program, but this would be much smoother as finding the specific apps in the microsoft store is a pain, and looks like:
which would be a great thing to just "detect" since the default is pwsh 1.0 and we are on 7.5.something at this stage, also, I should note that as of updating from nightly a month ago(ish) and last night, adding this to the settings.json causes a fun panic on launch
Check for existing issues
Describe the feature
Currently, Zed uses
powershell
as the default shell on Windows. It would be nice if Zed defaulted to usingpwsh
if detected on the user's system.Background
On Windows, Windows PowerShell (aka
powershell.exe
(versions 1-5.1) is bundled as the system shell.In 2019, Microsoft released
pwsh
7 as an OSS and cross-platform re-implementation and modern replacement forpowershell
5.1.pwsh
, however, is NOT bundled with Windows and is actually what the update nag message that shows up everytime you launchpowershell
is referring to.Environment
Version: Zed 0.165.4 @ c8199d4
Source: MSYS2 (UCRT64)
OS: Windows 11, 23H2
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: