From ea0b27c64bea2214100bed9cbfd077bc66a02d04 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 29 Mar 2022 14:37:50 -0700 Subject: [PATCH] Add PowerShell icon to Integrated Console --- src/process.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/process.ts b/src/process.ts index 833a8a960e..8409c8d26c 100644 --- a/src/process.ts +++ b/src/process.ts @@ -106,8 +106,9 @@ export class PowerShellProcess { name: this.title, shellPath: this.exePath, shellArgs: powerShellArgs, - hideFromUser: !this.sessionSettings.integratedConsole.showOnStartup, cwd: this.sessionSettings.cwd, + hideFromUser: !this.sessionSettings.integratedConsole.showOnStartup, + iconPath: new vscode.ThemeIcon("terminal-powershell"), }; if (semver.gte(vscode.version, "1.65.0")) { @@ -147,7 +148,6 @@ export class PowerShellProcess { } public dispose() { - // Clean up the session file utils.deleteSessionFile(this.sessionFilePath);