Skip to content

Commit 6b37b48

Browse files
committed
fix: naming of bash, gitbash, zsh and nu
1 parent d0b0883 commit 6b37b48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/features/terminal/startup/bashStartup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function getCommandAsString(command: PythonCommandRunConfiguration[]): string {
124124
}
125125

126126
export class BashStartupProvider implements ShellStartupProvider {
127-
public readonly name: string = 'sh|bash';
127+
public readonly name: string = 'Bash';
128128
private readonly bashActivationEnvVarKey = 'VSCODE_BASH_ACTIVATE';
129129

130130
private async checkShellInstalled(): Promise<boolean> {
@@ -222,7 +222,7 @@ export class BashStartupProvider implements ShellStartupProvider {
222222
}
223223

224224
export class ZshStartupProvider implements ShellStartupProvider {
225-
public readonly name: string = 'zsh';
225+
public readonly name: string = 'Zsh';
226226
private readonly zshActivationEnvVarKey = 'VSCODE_ZSH_ACTIVATE';
227227

228228
private async checkShellInstalled(): Promise<boolean> {
@@ -315,7 +315,7 @@ export class ZshStartupProvider implements ShellStartupProvider {
315315
}
316316

317317
export class GitBashStartupProvider implements ShellStartupProvider {
318-
public readonly name: string = 'git-bash';
318+
public readonly name: string = 'GitBash';
319319
private readonly gitBashActivationEnvVarKey = 'VSCODE_BASH_ACTIVATE';
320320

321321
private async checkShellInstalled(): Promise<boolean> {

src/features/terminal/startup/nuShellStartup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function getCommandAsString(command: PythonCommandRunConfiguration[]): string {
163163
}
164164

165165
export class NuShellStartupProvider implements ShellStartupProvider {
166-
public readonly name: string = 'nushell';
166+
public readonly name: string = 'Nu';
167167
public readonly nuShellActivationEnvVarKey = 'VSCODE_NU_ACTIVATE';
168168

169169
async isSetup(): Promise<ShellSetupState> {

0 commit comments

Comments
 (0)