diff --git a/app/src/lib/shells/win32.ts b/app/src/lib/shells/win32.ts index 6c01d700569..765dd687064 100644 --- a/app/src/lib/shells/win32.ts +++ b/app/src/lib/shells/win32.ts @@ -22,7 +22,7 @@ export enum Shell { GitBash = 'Git Bash', Cygwin = 'Cygwin', WSL = 'WSL', - WindowTerminal = 'Windows Terminal', + WindowsTerminal = 'Windows Terminal', FluentTerminal = 'Fluent Terminal', Alacritty = 'Alacritty', } @@ -108,7 +108,7 @@ export async function getAvailableShells(): Promise< const windowsTerminal = await findWindowsTerminal() if (windowsTerminal != null) { shells.push({ - shell: Shell.WindowTerminal, + shell: Shell.WindowsTerminal, path: windowsTerminal, }) } @@ -469,7 +469,7 @@ export function launch( cwd: path, } ) - case Shell.WindowTerminal: + case Shell.WindowsTerminal: const windowsTerminalPath = `"${foundShell.path}"` log.info(`launching ${shell} at path: ${windowsTerminalPath}`) return spawn(windowsTerminalPath, ['-d .'], { shell: true, cwd: path }) diff --git a/docs/technical/shell-integration.md b/docs/technical/shell-integration.md index 14c6c161600..3045d02e66e 100644 --- a/docs/technical/shell-integration.md +++ b/docs/technical/shell-integration.md @@ -45,7 +45,7 @@ export enum Shell { GitBash = 'Git Bash', Cygwin = 'Cygwin', WSL = 'WSL', - WindowTerminal = 'Windows Terminal', + WindowsTerminal = 'Windows Terminal', Alacritty = 'Alacritty', } ```