mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Windows: use SHELL for terminal if set (#2168)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
174bba98d7
commit
32908883f8
@ -108,7 +108,7 @@ export class ShellSession extends EventEmitter {
|
||||
|
||||
if(isWindows) {
|
||||
env["SystemRoot"] = process.env.SystemRoot;
|
||||
env["PTYSHELL"] = "powershell.exe";
|
||||
env["PTYSHELL"] = process.env.SHELL || "powershell.exe";
|
||||
env["PATH"] = pathStr;
|
||||
} else if(typeof(process.env.SHELL) != "undefined") {
|
||||
env["PTYSHELL"] = process.env.SHELL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user