feat: Implement PowerShell support (#470)

This commit is contained in:
David Knaack
2019-10-15 17:10:16 +02:00
committed by Matan Kushner
parent b5bb6d6994
commit 6ab70796db
18 changed files with 197 additions and 58 deletions
+9
View File
@@ -97,3 +97,12 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
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)
```