From cb2435e4f9a87756bb50a7849d34d35f6efbd791 Mon Sep 17 00:00:00 2001 From: Michael James Date: Mon, 9 Nov 2020 20:41:44 +0000 Subject: [PATCH 1/3] Update powerline-setup.md Updated Tips to include setting the Integrated terminal within Visual Studio to use the Cascadia Code Powerlines font. Also added an additional resource which shows step by step how to do this --- TerminalDocs/tutorials/powerline-setup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TerminalDocs/tutorials/powerline-setup.md b/TerminalDocs/tutorials/powerline-setup.md index f2bc9d90..26d2fab8 100644 --- a/TerminalDocs/tutorials/powerline-setup.md +++ b/TerminalDocs/tutorials/powerline-setup.md @@ -91,6 +91,9 @@ Your Windows PowerShell profile settings.json file should now look like this: > [!TIP] > If you also use the integrated terminal in Visual Studio Code, you should add `"terminal.integrated.fontFamily": "Cascadia Code PL"` to your Visual Studio Code settings to make sure Powerline works there, too. +> [!TIP] +> If you also use the integrated terminal in Visual Studio 2019, you should add set the terminal font via Options > Font and Colors and choose Terminal in the dropdown. You can then choose the Cascadia Code PL font to make sure Powerline works there, too. + ## Set up Powerline in WSL Ubuntu ### WSL Ubuntu prerequisites @@ -121,3 +124,4 @@ fi * [Scott Hanselman's "How to make a pretty prompt in Windows Terminal"](https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx) * [How to change/set up bash custom prompt (PS1) in Linux](https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html) +* [How to configure a powerlines font for the integrated terminal within Visual Studio 2019](https://blog.mjjames.co.uk/2020/11/enabling-powerlines-in-your-visual.html) From 5fb655fcba1a1da7519c179937b3d12fa105042c Mon Sep 17 00:00:00 2001 From: Matt Wojciakowski Date: Tue, 23 Mar 2021 11:13:34 -0700 Subject: [PATCH 2/3] Combine VS Code & VS tips for setting up powerline --- TerminalDocs/tutorials/powerline-setup.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/TerminalDocs/tutorials/powerline-setup.md b/TerminalDocs/tutorials/powerline-setup.md index 26d2fab8..15ad0824 100644 --- a/TerminalDocs/tutorials/powerline-setup.md +++ b/TerminalDocs/tutorials/powerline-setup.md @@ -89,10 +89,7 @@ Your Windows PowerShell profile settings.json file should now look like this: }, ``` > [!TIP] -> If you also use the integrated terminal in Visual Studio Code, you should add `"terminal.integrated.fontFamily": "Cascadia Code PL"` to your Visual Studio Code settings to make sure Powerline works there, too. - -> [!TIP] -> If you also use the integrated terminal in Visual Studio 2019, you should add set the terminal font via Options > Font and Colors and choose Terminal in the dropdown. You can then choose the Cascadia Code PL font to make sure Powerline works there, too. +> For Powerline to work with the integrated terminal in Visual Studio Code, add `"terminal.integrated.fontFamily": "Cascadia Code PL"` to your Visual Studio Code settings. For Visual Studio 2019, set the terminal font via *Options* > *Font and Colors* and choose *Terminal* in the dropdown menu. You can then select the Cascadia Code PL font to make sure Powerline works there, too. ## Set up Powerline in WSL Ubuntu From 4f2f71a13542ca3d4cec522e8c2f175575180785 Mon Sep 17 00:00:00 2001 From: Matt Wojciakowski Date: Tue, 23 Mar 2021 11:15:15 -0700 Subject: [PATCH 3/3] Remove external blog link --- TerminalDocs/tutorials/powerline-setup.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TerminalDocs/tutorials/powerline-setup.md b/TerminalDocs/tutorials/powerline-setup.md index 15ad0824..645f22f0 100644 --- a/TerminalDocs/tutorials/powerline-setup.md +++ b/TerminalDocs/tutorials/powerline-setup.md @@ -119,6 +119,4 @@ fi ## Additional resources * [Scott Hanselman's "How to make a pretty prompt in Windows Terminal"](https://www.hanselman.com/blog/HowToMakeAPrettyPromptInWindowsTerminalWithPowerlineNerdFontsCascadiaCodeWSLAndOhmyposh.aspx) - -* [How to change/set up bash custom prompt (PS1) in Linux](https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html) -* [How to configure a powerlines font for the integrated terminal within Visual Studio 2019](https://blog.mjjames.co.uk/2020/11/enabling-powerlines-in-your-visual.html) +* [Oh my Posh documentation](https://ohmyposh.dev)