Skip to content

Add 'pwsh' as alias to Powershell#2239

Merged
tancnle merged 1 commit intorouge-ruby:mainfrom
o-l-a-v:patch-1
Mar 2, 2026
Merged

Add 'pwsh' as alias to Powershell#2239
tancnle merged 1 commit intorouge-ruby:mainfrom
o-l-a-v:patch-1

Conversation

@o-l-a-v
Copy link
Copy Markdown
Contributor

@o-l-a-v o-l-a-v commented Mar 1, 2026

Summary

Add pwsh as alias for powershell.

Context

pwsh is the name of the executable ever since Dotnet Core (cross platform) was created, and PowerShell Core (cross platform) was made on top of it. Before that we had Windows PowerShell, with executable name powershell.

  • Old Windows PowerShell: powershell
  • New PowerShell: pwsh

Other code highlighters supports pwsh as alias for powershell.

Others that might soon:

@tancnle
Copy link
Copy Markdown
Collaborator

tancnle commented Mar 2, 2026

Thanks, @o-l-a-v. Pygments is also using pwsh alias (ref). LGTM 🚀

@tancnle tancnle added this pull request to the merge queue Mar 2, 2026
Merged via the queue into rouge-ruby:main with commit 1e3f8f9 Mar 2, 2026
10 checks passed
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.

2 participants