1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-11 15:51:01 +00:00

docs: highlight powershell in vuepress (#2147)

This commit is contained in:
David Knaack 2021-01-14 21:48:06 +01:00 committed by GitHub
parent 8ad0e9e00c
commit 0faa05628e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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. 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) Invoke-Expression (&starship init powershell)
``` ```

View File

@ -29,7 +29,7 @@ export STARSHIP_CONFIG=~/.starship
Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`: Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
```ps1 ```powershell
$ENV:STARSHIP_CONFIG = "$HOME\.starship" $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`: Equivalently in PowerShell (Windows) would be adding this line to your `$PROFILE`:
```ps1 ```powershell
$ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp" $ENV:STARSHIP_CACHE = "$HOME\AppData\Local\Temp"
``` ```