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
1 changed files with 9 additions and 0 deletions

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/).