We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78052bd commit 761664eCopy full SHA for 761664e
src/client/common/terminal/shellDetectors/baseShellDetector.ts
@@ -63,7 +63,7 @@ export abstract class BaseShellDetector implements IShellDetector {
63
export function identifyShellFromShellPath(shellPath: string): TerminalShellType {
64
// Remove .exe extension so shells can be more consistently detected
65
// on Windows (including Cygwin).
66
- const basePath = shellPath.replace(/\.exe$/, '');
+ const basePath = shellPath.replace(/\.exe$/i, '');
67
68
const shell = Array.from(detectableShells.keys()).reduce((matchedShell, shellToDetect) => {
69
if (matchedShell === TerminalShellType.other) {
0 commit comments