42 lines
2.0 KiB
Markdown
42 lines
2.0 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 預設樣式的截圖](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
|
|
|
## [括號片段](./bracketed-segments.md)
|
|
|
|
這個預設樣式使所有模組使用括號片段內的格式顯示,而非使用 Starship 預設("via", "on", etc.)。
|
|
|
|
[![括號片段預設樣式的截圖](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./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.
|
|
|
|
[![純文字符號預設樣式的截圖](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
|
|
|
## [No Runtime Versions](./no-runtimes.md)
|
|
|
|
這個預設樣式隱藏了各個語言的執行環境版本。 如果你在容器或者虛擬環境中工作,那麼這個樣式是為你設計的!
|
|
|
|
[![隱藏運行版本預設樣式的截圖](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
|
|
|
## [Pure Prompt](./pure-preset.md)
|
|
|
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
|
|
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./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.
|
|
|
|
[![Screenshot of Pastel Powerline preset](/presets/img/pastel-powerline.png "Click to view Pure Prompt preset")](./pastel-powerline)
|