Skip to content

Commit c24c4d1

Browse files
authored
fix: inconsistent shell name display (#339)
Standardize the display names of various shell providers to use lowercase for consistency. Fixes #230
1 parent ab40b99 commit c24c4d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/features/terminal/shells/bash/bashStartup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async function removeStartup(profile: string, key: string): Promise<boolean> {
111111
}
112112

113113
export class BashStartupProvider implements ShellStartupScriptProvider {
114-
public readonly name: string = 'Bash';
114+
public readonly name: string = 'bash';
115115
public readonly shellType: string = ShellConstants.BASH;
116116

117117
private async checkShellInstalled(): Promise<boolean> {
@@ -178,7 +178,7 @@ export class BashStartupProvider implements ShellStartupScriptProvider {
178178
}
179179

180180
export class ZshStartupProvider implements ShellStartupScriptProvider {
181-
public readonly name: string = 'Zsh';
181+
public readonly name: string = 'zsh';
182182
public readonly shellType: string = ShellConstants.ZSH;
183183

184184
private async checkShellInstalled(): Promise<boolean> {
@@ -239,7 +239,7 @@ export class ZshStartupProvider implements ShellStartupScriptProvider {
239239
}
240240

241241
export class GitBashStartupProvider implements ShellStartupScriptProvider {
242-
public readonly name: string = 'GitBash';
242+
public readonly name: string = 'Git bash';
243243
public readonly shellType: string = ShellConstants.GITBASH;
244244

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

src/features/terminal/shells/fish/fishStartup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async function removeFishStartup(profilePath: string, key: string): Promise<bool
9595
}
9696

9797
export class FishStartupProvider implements ShellStartupScriptProvider {
98-
public readonly name: string = 'Fish';
98+
public readonly name: string = 'fish';
9999
public readonly shellType: string = ShellConstants.FISH;
100100

101101
async isSetup(): Promise<ShellSetupState> {

0 commit comments

Comments
 (0)