Skip to content

fix: detect Windows shell from environment#171

Open
euyua9 wants to merge 1 commit intoBuilderIO:mainfrom
euyua9:fix/windows-shell-detection-euyua9
Open

fix: detect Windows shell from environment#171
euyua9 wants to merge 1 commit intoBuilderIO:mainfrom
euyua9:fix/windows-shell-detection-euyua9

Conversation

@euyua9
Copy link
Copy Markdown

@euyua9 euyua9 commented Apr 23, 2026

Summary

  • detect Git Bash/MSYS-style shells on Windows from SHELL instead of always reporting PowerShell
  • fall back to ComSpec for cmd.exe / PowerShell detection
  • keep PowerShell as the default when no Windows shell signal is available

Tests

  • npm run lint -- src/helpers/os-detect.ts
  • npm run typecheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant