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" ```