From 40b6a8a60d45a506a8b0226dc5e51714a6a7819d Mon Sep 17 00:00:00 2001 From: TeBeCo Date: Fri, 11 Jun 2021 00:48:34 +0400 Subject: [PATCH] Add pwsh as an alias for Powershell (#3236) --- CHANGES.md | 3 +++ src/languages/powershell.js | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index c93c4e69a3..a3a3065e64 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ Grammars: +- enh(powershell) added `pwsh` alias (#3236) [tebeco][] - fix(r) fix bug highlighting examples in doc comments [Konrad Rudolph][] - fix(python) identifiers starting with underscore not highlighted (#3221) [Antoine Lambert][] - enh(clojure) added `edn` alias (#3213) [Stel Abrego][] @@ -14,6 +15,8 @@ Grammars: [Antoine Lambert]: https://github.com/anlambert [Angelika Tyborska]: https://github.com/angelikatyborska [Konrad Rudolph]: https://github.com/klmr +[tebeco]: https://github.com/tebeco + ## Version 11.0.0 diff --git a/src/languages/powershell.js b/src/languages/powershell.js index 7f06aa3ba4..6c5a9a832b 100644 --- a/src/languages/powershell.js +++ b/src/languages/powershell.js @@ -345,6 +345,7 @@ export default function(hljs) { return { name: 'PowerShell', aliases: [ + "pwsh", "ps", "ps1" ],