mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Implement PowerShell support (#470)
This commit is contained in:
committed by
Matan Kushner
parent
b5bb6d6994
commit
6ab70796db
@@ -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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user