Hyper 3 Canary 8 starts outdated 'cmd' shell by default on Windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
Heya! Hyper 3 Canary 8 on a new box will start 'cmd' by default. It took a moment to realise this as various pwsh commands kept failing.
- Windows current default shell is Powershell (hit Win+X)
- Powershell is actively maintained and frequently updated - cmd is unlikely to get any fixes in future, @bitcrazed can fill you in on the specifics!
- Powershell is available on all Windows versions Hyper supports
- Powershell is more capable than cmd, with structured output so you can pipe things to
select,whereetc. rather than having to scrape thngs with regexs - Terminus, Fluent Terminal, and other current tech terminals all look for and start Powershell by default
Ideally Hyper would look for powershell pwsh in $env:ProgramFiles'.\Powershell\<verson>, and fallback to powershell (included in Windows) if not found.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Hyper’s Windows terminal startup and default-shell selection entry point, then trace how it currently chooses cmd. Done means preferring the available pwsh installation under ProgramFiles and falling back to the Windows powershell executable when pwsh is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100