From 0faa05628e54c5436726f75f8d9e134de33e0fc8 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Thu, 14 Jan 2021 21:48:06 +0100 Subject: [PATCH] docs: highlight powershell in vuepress (#2147) --- README.md | 2 +- docs/config/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2191f282..9a556d37 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ shown below. Can't see yours? Have a look at the [extra platform instructions](h Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix. - ```sh + ```powershell Invoke-Expression (&starship init powershell) ``` diff --git a/docs/config/README.md b/docs/config/README.md index 8b8bc228..ff0a0aad 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -29,7 +29,7 @@ export STARSHIP_CONFIG=~/.starship Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: -```ps1 +```powershell $ENV:STARSHIP_CONFIG = "$HOME\.starship" ``` @@ -44,7 +44,7 @@ export STARSHIP_CACHE=~/.starship/cache Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: -```ps1 +```powershell $ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp" ```