From 7524d0d0ef490825fbb8b6750d08874fc8040c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:28:37 +0100 Subject: [PATCH] Add 'pwsh' alias to Powershell lexer --- lib/rouge/lexers/powershell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rouge/lexers/powershell.rb b/lib/rouge/lexers/powershell.rb index 72bb0abaf5..8546dbdf82 100644 --- a/lib/rouge/lexers/powershell.rb +++ b/lib/rouge/lexers/powershell.rb @@ -8,7 +8,7 @@ class Powershell < RegexLexer title 'powershell' desc 'powershell' tag 'powershell' - aliases 'posh', 'microsoftshell', 'msshell' + aliases 'posh', 'microsoftshell', 'msshell', 'pwsh' filenames '*.ps1', '*.psm1', '*.psd1', '*.psrc', '*.pssc' mimetypes 'text/x-powershell'