66 lines
2.8 KiB
Markdown
66 lines
2.8 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)
|