From f6d75b43e73df316bc03a3d253f96ff601288950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E9=9D=92=E5=9B=AD=E6=99=9A?= Date: Wed, 7 Dec 2022 13:42:01 +0800 Subject: [PATCH 1/4] Update FAQ.md so users can beautify their pwsh easily --- docs/FAQ.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index 2de12360485..51f1c684897 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -102,3 +102,14 @@ Additionally, if you've just unzipped their binary drops (or used their obtain scripts, which do essentially the same thing), you must manually delete the folder, as the .NET CLI team re-engineered how their binaries are setup, such that new packages' binaries get stomped on by old packages' binaries. + +## How can I make my PowerShell have better looking? + +You can use [oh-my-posh](https://ohmyposh.dev/) and see +its source code in [JanDeDobbeleer](https://github.com/JanDeDobbeleer/oh-my-posh). + +An Example: + +![image](https://user-images.githubusercontent.com/50760269/206097676-58283ed0-d244-4c5c-813d-1218f8bed27f.png) + + From 7c28a419665ebaadd6bc42bbc31c614cb8501ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E9=9D=92=E5=9B=AD=E6=99=9A?= Date: Wed, 7 Dec 2022 13:42:44 +0800 Subject: [PATCH 2/4] Fix typo in FAQ.md --- docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 51f1c684897..2337562d585 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -106,7 +106,7 @@ that new packages' binaries get stomped on by old packages' binaries. ## How can I make my PowerShell have better looking? You can use [oh-my-posh](https://ohmyposh.dev/) and see -its source code in [JanDeDobbeleer](https://github.com/JanDeDobbeleer/oh-my-posh). +its source code in [JanDeDobbeleer/oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh). An Example: From 01569aa757ad0dbf50f84007d72f0c0140018c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E9=9D=92=E5=9B=AD=E6=99=9A?= Date: Thu, 8 Dec 2022 00:48:29 +0800 Subject: [PATCH 3/4] Move tip of style related into /docs/learning-powershell/ --- docs/FAQ.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 2337562d585..2de12360485 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -102,14 +102,3 @@ Additionally, if you've just unzipped their binary drops (or used their obtain scripts, which do essentially the same thing), you must manually delete the folder, as the .NET CLI team re-engineered how their binaries are setup, such that new packages' binaries get stomped on by old packages' binaries. - -## How can I make my PowerShell have better looking? - -You can use [oh-my-posh](https://ohmyposh.dev/) and see -its source code in [JanDeDobbeleer/oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh). - -An Example: - -![image](https://user-images.githubusercontent.com/50760269/206097676-58283ed0-d244-4c5c-813d-1218f8bed27f.png) - - From c8dfde101a30a38773619c0c0703175d542b68f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E9=9D=92=E5=9B=AD=E6=99=9A?= Date: Thu, 8 Dec 2022 00:50:40 +0800 Subject: [PATCH 4/4] Update learning-powershell about how to prettify --- docs/learning-powershell/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/learning-powershell/README.md b/docs/learning-powershell/README.md index 0dbbc5b8576..c42093a8dd9 100644 --- a/docs/learning-powershell/README.md +++ b/docs/learning-powershell/README.md @@ -102,6 +102,15 @@ Note that all bash commands should continue working on PowerShell session. - [PowerShell Documentation](https://docs.microsoft.com/powershell) - [Interactive learning with PSKoans](https://aka.ms/pskoans) +### Make PowerShell Beautiful + +You can use [oh-my-posh](https://ohmyposh.dev/) and see +its source code in [JanDeDobbeleer/oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh). + +An Example: + +![image](https://user-images.githubusercontent.com/50760269/206097676-58283ed0-d244-4c5c-813d-1218f8bed27f.png) + ### Commercial Resources - [Windows PowerShell in Action][in-action] by [Bruce Payette](https://github.com/brucepay)