mirror of
https://github.com/starship/starship.git
synced 2024-11-22 08:14:10 +01:00
docs: highlight powershell in vuepress (#2147)
This commit is contained in:
parent
8ad0e9e00c
commit
0faa05628e
@ -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)
|
||||
```
|
||||
|
||||
|
@ -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"
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user