Repository navigation
Closed
Labels
feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-testplanterminal-profilesterminal-tabs
Milestone
Description
For Windows:
vscode/src/vs/platform/terminal/node/windowsShellHelper.ts
Lines 21 to 38 in 3a7020e
| const SHELL_EXECUTABLES = [ | |
| 'cmd.exe', | |
| 'powershell.exe', | |
| 'pwsh.exe', | |
| 'bash.exe', | |
| 'git-cmd.exe', | |
| 'wsl.exe', | |
| 'ubuntu.exe', | |
| 'ubuntu1804.exe', | |
| 'kali.exe', | |
| 'debian.exe', | |
| 'opensuse-42.exe', | |
| 'sles-12.exe', | |
| 'julia.exe', | |
| 'nu.exe', | |
| 'node.exe', | |
| 'xonsh.exe', | |
| ]; |
Rest:
vscode/src/vs/platform/terminal/node/terminalProcess.ts
Lines 61 to 78 in 3a7020e
| const posixShellTypeMap = new Map<string, PosixShellType>([ | |
| ['bash', PosixShellType.Bash], | |
| ['csh', PosixShellType.Csh], | |
| ['fish', PosixShellType.Fish], | |
| ['ksh', PosixShellType.Ksh], | |
| ['sh', PosixShellType.Sh], | |
| ['zsh', PosixShellType.Zsh] | |
| ]); | |
| const generalShellTypeMap = new Map<string, GeneralShellType>([ | |
| ['pwsh', GeneralShellType.PowerShell], | |
| ['powershell', GeneralShellType.PowerShell], | |
| ['python', GeneralShellType.Python], | |
| ['julia', GeneralShellType.Julia], | |
| ['nu', GeneralShellType.NuShell], | |
| ['node', GeneralShellType.Node], | |
| ['xonsh', GeneralShellType.Xonsh], | |
| ]); |
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insiderson-testplanterminal-profilesterminal-tabs
Activity
Add agent CLIs to shell type detection
vs-code-engineering commentedon Apr 13, 2026
Sharing media from merged PR #304528 for verification:
Source PR: #304528