Skip to content

Commit

Permalink
Support 'MicrosoftShell' and 'MSShell' as alias for 'PowerShell'
Browse files Browse the repository at this point in the history
PowerShell was previously called MS Shell. It might make sense to also support those aliases to not break backwards compatibility basically.

Ref: https://en.wikipedia.org/wiki/PowerShell
  • Loading branch information
ypid-geberit committed May 28, 2019
1 parent e957c74 commit b77bb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rouge/lexers/powershell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Powershell < Shell
title 'powershell'
desc 'powershell'
tag 'powershell'
aliases 'posh'
aliases 'posh', 'microsoftshell', 'msshell'
filenames '*.ps1', '*.psm1', '*.psd1', '*.psrc', '*.pssc'
mimetypes 'text/x-powershell'

Expand Down

0 comments on commit b77bb25

Please sign in to comment.