Skip to content

Add pwsh alias for “PowerShell” lexers#1876

Merged
Anteru merged 1 commit intopygments:masterfrom
ExE-Boss:feat/lexers/shell/add-pwsh-alias
Aug 15, 2021
Merged

Add pwsh alias for “PowerShell” lexers#1876
Anteru merged 1 commit intopygments:masterfrom
ExE-Boss:feat/lexers/shell/add-pwsh-alias

Conversation

@ExE-Boss
Copy link
Copy Markdown
Contributor

This matches the official executable name of PowerShell 6 and newer:


Also, the posh alias should be deprecated as it clashes with the “Policy‑compliant Ordinary SHell”.

@birkenfeld
Copy link
Copy Markdown
Member

Please run make mapfiles and include the change in the PR.

@birkenfeld
Copy link
Copy Markdown
Member

As for posh, since that isn't something we'll have a lexer for, let's keep the alias.

@Anteru Anteru self-assigned this Aug 8, 2021
@Anteru Anteru added the A-lexing area: changes to individual lexers label Aug 8, 2021
@Anteru Anteru added this to the 2.10 milestone Aug 8, 2021
@Anteru Anteru merged commit 2ab0083 into pygments:master Aug 15, 2021
@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Aug 15, 2021

Merged, thanks a lot!

@ExE-Boss ExE-Boss deleted the feat/lexers/shell/add-pwsh-alias branch February 5, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants