mirror of
https://github.com/starship/starship.git
synced 2025-03-04 02:01:45 +01:00
* New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Ukrainian)
78 lines
3.4 KiB
Markdown
78 lines
3.4 KiB
Markdown
# 预设
|
||
|
||
这里有一系列社区提供的 Starship 预设。 如果您想分享一套配置,请 [提交 PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) 来更新此文件! 😊
|
||
|
||
单击图像以获取使用预设的详细方法。
|
||
|
||
## [Nerd 字体符号](./nerd-font.md)
|
||
|
||
此预设使用 Nerd 字体的符号显示所有组件。
|
||
|
||
[](./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](./bracketed-segments.md)
|
||
|
||
此预设使用括号来分隔所有组件的提示符,不使用 Starship 默认的分隔词(“via”,“on” 等等)。
|
||
|
||
[](./bracketed-segments)
|
||
|
||
## [纯文本符号](./plain-text.md)
|
||
|
||
此预设将所有组件的符号改为纯文本。 适合没有 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)
|
||
|
||
此预设模拟 [Pure](https://github.com/sindresorhus/pure) 的外观和行为。
|
||
|
||
[](./pure-preset)
|
||
|
||
## [Pastel Powerline](./pastel-powerline.md)
|
||
|
||
此预设的灵感来自于 [M365Princess](https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json)。 它同时也演示了 Starship 的路径替换功能。
|
||
|
||
[](./pastel-powerline)
|
||
|
||
## [Tokyo Night](./tokyo-night.md)
|
||
|
||
此预设受 [tokyo-night-vscode-theme](https://github.com/enkia/tokyo-night-vscode-theme) 的启发。
|
||
|
||
[](./tokyo-night)
|
||
|
||
## [Gruvbox Rainbow](./gruvbox-rainbow.md)
|
||
|
||
This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), and [Tokyo Night](./tokyo-night.md).
|
||
|
||
[](./gruvbox-rainbow)
|
||
|
||
## [Jetpack](./jetpack.md)
|
||
|
||
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
|
||
|
||
[](./jetpack)
|