feat(windows): add first-class pwsh/powershell support (#16069)

This commit is contained in:
Luke Parker 2026-03-30 13:10:01 +10:00 committed by GitHub
commit b234370080
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 1487 additions and 367 deletions

View file

@ -176,7 +176,7 @@ export namespace Pty {
const id = PtyID.ascending()
const command = input.command || Shell.preferred()
const args = input.args || []
if (command.endsWith("sh")) {
if (Shell.login(command)) {
args.push("-l")
}