docs: Make website docs consistent with README.md
This commit is contained in:
parent
a07ca8353f
commit
e078bf4727
|
@ -186,12 +186,13 @@ The prompt shows information you need while you're working, while staying sleek
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Powershell
|
#### PowerShell
|
||||||
|
|
||||||
Add the following to the end of `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix):
|
Add the following to the end of `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ~\Documents\PowerShell\Profile.ps1
|
# ~\Documents\PowerShell\Profile.ps1
|
||||||
|
|
||||||
Invoke-Expression (&starship init powershell)
|
Invoke-Expression (&starship init powershell)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -313,6 +314,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||||
|
|
||||||
<!-- markdownlint-enable -->
|
<!-- markdownlint-enable -->
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||||
|
|
||||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||||
|
|
|
@ -32,38 +32,26 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
|
||||||
|
|
||||||
1. Install the **starship** binary:
|
1. Install the **starship** binary:
|
||||||
|
|
||||||
**[Download archives of precompiled binaries](https://github.com/starship/starship/releases)** if you don't use the platforms below.
|
#### Install Latest Version
|
||||||
|
|
||||||
#### Homebrew
|
##### With Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ brew install starship
|
curl -fsSL https://starship.rs/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Rust (v1.38 or higher)
|
#### Install via Package Manager
|
||||||
|
|
||||||
|
##### With [Homebrew](https://brew.sh/):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cargo install starship
|
brew install starship
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Arch Linux (AUR)
|
##### With [Scoop](https://scoop.sh):
|
||||||
|
|
||||||
Starship is available on the AUR under the name `starship`. Install it with `yay` or your favorite AUR helper.
|
```powershell
|
||||||
|
scoop install starship
|
||||||
```sh
|
|
||||||
$ yay -S starship
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Nix (unstable)
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ nix-env --install starship
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Termux
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ pkg install starship
|
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Add the init script to your shell's config file:
|
1. Add the init script to your shell's config file:
|
||||||
|
@ -104,5 +92,16 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ~\Documents\PowerShell\Profile.ps1
|
# ~\Documents\PowerShell\Profile.ps1
|
||||||
|
|
||||||
Invoke-Expression (&starship init powershell)
|
Invoke-Expression (&starship init powershell)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Ion
|
||||||
|
|
||||||
|
Add the following to the end of `~/.config/ion/initrc`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# ~/.config/ion/initrc
|
||||||
|
|
||||||
|
eval $(starship init ion)
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue