feat(windows): add first-class pwsh/powershell support (#16069)
This commit is contained in:
parent
5d2dc8888c
commit
b234370080
18 changed files with 1487 additions and 367 deletions
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue