mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-23 08:13:38 +08:00
22 lines
672 B
Markdown
22 lines
672 B
Markdown
|
# starship plugin
|
||
|
|
||
|
Initializes [starship prompt](https://starship.rs) - a minimal, blazing-fast and infinitely customizable cross-shell prompt.
|
||
|
|
||
|
[Demo](https://user-images.githubusercontent.com/62098008/169764279-50b48262-9506-4651-ba89-f6611a88ebf0.mp4)
|
||
|
|
||
|
[External repository](https://github.com/axieax/zsh-starship) for this zsh plugin.
|
||
|
|
||
|
# Installation
|
||
|
|
||
|
**Note:** you have to [install starship](https://starship.rs/guide/#%F0%9F%9A%80-installation) first.
|
||
|
|
||
|
## [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
|
||
|
|
||
|
Add `starship` to the plugins array in your `.zshrc` file:
|
||
|
|
||
|
```zsh
|
||
|
plugins=(... starship)
|
||
|
```
|
||
|
|
||
|
## ⚠️ ENABLING THIS PLUGIN WILL UNSET YOUR ZSH_THEME VARIABLE
|