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

docs: Add Powershell setup to repo README

This commit is contained in:
Matan Kushner 2019-10-16 00:17:55 +09:00
parent 5570fcc47c
commit 392fa247b7
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -201,6 +201,15 @@ The prompt shows information you need while you're working, while staying sleek
eval "$(starship init zsh)"
```
#### Powershell
Add the following to the end of `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix):
```sh
# ~\Documents\PowerShell\Profile.ps1
Invoke-Expression (&starship init powershell)
```
## 🔧 Configuration
For details on how to configure Starship, check out our [documentation](https://starship.rs/config/).