From 93c09e380c432c0d7b7a249206c4832d074e7d5e Mon Sep 17 00:00:00 2001 From: TeBeCo Date: Thu, 10 Jun 2021 07:54:12 +0200 Subject: [PATCH 1/2] add pwsh as an alias for Powershell since pwsh is the name of the binary for powershell core (not even supposed to be an alias TBH) --- src/languages/powershell.js | 1 + 1 file changed, 1 insertion(+) 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" ], From 15ca358217e4dcc518e0a485d7c979bb18ec1fc8 Mon Sep 17 00:00:00 2001 From: TeBeCo Date: Thu, 10 Jun 2021 21:38:08 +0200 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 3 +++ 1 file changed, 3 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