Skip to content

Commit

Permalink
Merge pull request desktop#19663 from ankddev/rename-windows-terminal
Browse files Browse the repository at this point in the history
chore: rename Windows Terminal in shell integration code
  • Loading branch information
niik authored Dec 5, 2024
2 parents 79a3813 + fdcf13f commit 6808762
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/src/lib/shells/win32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down Expand Up @@ -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,
})
}
Expand Down Expand Up @@ -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 })
Expand Down
2 changes: 1 addition & 1 deletion docs/technical/shell-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export enum Shell {
GitBash = 'Git Bash',
Cygwin = 'Cygwin',
WSL = 'WSL',
WindowTerminal = 'Windows Terminal',
WindowsTerminal = 'Windows Terminal',
Alacritty = 'Alacritty',
}
```
Expand Down

0 comments on commit 6808762

Please sign in to comment.