66 lines
2.9 KiB
Markdown
66 lines
2.9 KiB
Markdown
# 預設樣式
|
|
|
|
這裡蒐集了社群提交的 Starship 預設樣式。 如果你也想要分享你的樣式,請[提交一個 PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) 來更新這個檔案! 😊
|
|
|
|
To get details on how to use a preset, simply click on the image.
|
|
|
|
## [Nerd Font 符號](./nerd-font.md)
|
|
|
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
|
|
|
[](./nerd-font)
|
|
|
|
## [No Nerd Fonts](./no-nerd-font.md)
|
|
|
|
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
|
|
|
|
::: tip
|
|
|
|
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
|
|
|
|
:::
|
|
|
|
[Click to view No Nerd Font preset](./no-nerd-font)
|
|
|
|
## [括號片段](./bracketed-segments.md)
|
|
|
|
這個預設樣式使所有模組使用括號片段內的格式顯示,而非使用 Starship 預設("via", "on", etc.)。
|
|
|
|
[](./bracketed-segments)
|
|
|
|
## [純文字符號](./plain-text.md)
|
|
|
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
|
|
|
[](./plain-text)
|
|
|
|
## [No Runtime Versions](./no-runtimes.md)
|
|
|
|
這個預設樣式隱藏了各個語言的執行環境版本。 如果你在容器或者虛擬環境中工作,那麼這個樣式是為你設計的!
|
|
|
|
[](./no-runtimes)
|
|
|
|
## [No Empty Icons](./no-empty-icons.md)
|
|
|
|
This preset does not show icons if the toolset is not found.
|
|
|
|
[](./no-empty-icons.md)
|
|
|
|
## [Pure Prompt](./pure-preset.md)
|
|
|
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
|
|
|
[](./pure-preset)
|
|
|
|
## [Pastel Powerline](./pastel-powerline.md)
|
|
|
|
This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json). It also shows how path substitution works in starship.
|
|
|
|
[](./pastel-powerline)
|
|
|
|
## [Tokyo Night](./tokyo-night.md)
|
|
|
|
This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme).
|
|
|
|
[](./tokyo-night)
|