Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pwsh alias for “PowerShell” lexers #1876

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

ExE-Boss
Copy link
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
Member

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

@birkenfeld
Copy link
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
Collaborator

Anteru commented Aug 15, 2021

Merged, thanks a lot!

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.

None yet

3 participants