2022-01-15 17:08:31 -05:00
# 预设
2019-12-24 16:54:29 -05:00
2022-01-15 17:08:31 -05:00
这里有一系列社区提供的 Starship 预设。 如果您想分享一套配置,请 [提交 PR ](https://github.com/starship/starship/edit/master/docs/presets/README.md ) 来更新此文件! 😊
2019-12-24 16:54:29 -05:00
2022-06-16 08:48:50 -04:00
单击图像以获取使用预设的详细方法。
2019-12-24 16:54:29 -05:00
2022-03-24 15:47:11 -05:00
## [Nerd 字体符号](./nerd-font.md)
2019-12-24 16:54:29 -05:00
2022-06-16 08:48:50 -04:00
此预设使用 Nerd 字体的符号显示所有组件。
2019-12-24 16:54:29 -05:00
2022-06-16 08:48:50 -04:00
[](./nerd-font)
2019-12-24 16:54:29 -05:00
2022-12-05 15:54:12 +09:00
## [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.
2024-07-26 13:33:53 -04:00
::: tip 提示
2023-02-01 01:14:38 +09:00
2024-10-18 03:20:57 +09:00
在[未来的starship release ](https://github.com/starship/starship/pull/3544 )中,这一预设将成为默认预设。
2023-02-01 01:14:38 +09:00
:::
2022-12-05 15:54:12 +09:00
2024-10-18 03:20:57 +09:00
[点击查看No Nerd Fonts预设 ](./no-nerd-font )
2022-12-05 15:54:12 +09:00
2022-03-24 15:47:11 -05:00
## [Bracketed Segments](./bracketed-segments.md)
2021-06-20 14:10:36 -04:00
2022-06-16 08:48:50 -04:00
此预设使用括号来分隔所有组件的提示符,不使用 Starship 默认的分隔词(“via”,“on” 等等)。
2021-06-20 14:10:36 -04:00
2022-10-14 21:53:32 -04:00
[](./bracketed-segments)
2021-06-20 14:10:36 -04:00
2022-03-24 15:47:11 -05:00
## [纯文本符号](./plain-text.md)
2021-06-20 14:10:36 -04:00
2022-06-16 08:48:50 -04:00
此预设将所有组件的符号改为纯文本。 适合没有 Unicode 的环境。
2021-06-20 14:10:36 -04:00
2022-03-08 21:11:36 -05:00
[](./plain-text)
2021-06-20 14:10:36 -04:00
2022-03-24 15:47:11 -05:00
## [No Runtime Versions](./no-runtimes.md)
2021-08-14 09:24:51 -04:00
2022-01-15 17:08:31 -05:00
此预设隐藏语言运行时版本。 如果你在容器或虚拟环境中使用,这个适合你!
2021-08-14 09:24:51 -04:00
2022-03-08 21:11:36 -05:00
[](./no-runtimes)
2021-08-14 09:24:51 -04:00
2022-12-05 15:54:12 +09:00
## [No Empty Icons](./no-empty-icons.md)
This preset does not show icons if the toolset is not found.
2024-10-18 03:20:57 +09:00
[](./no-empty-icons.md)
2022-12-05 15:54:12 +09:00
2022-03-24 15:47:11 -05:00
## [Pure Prompt](./pure-preset.md)
2021-11-07 18:07:39 +00:00
2022-01-15 17:08:31 -05:00
此预设模拟 [Pure ](https://github.com/sindresorhus/pure ) 的外观和行为。
2021-11-07 18:07:39 +00:00
2022-10-14 21:53:32 -04:00
[](./pure-preset)
2022-03-24 15:47:11 -05:00
## [Pastel Powerline](./pastel-powerline.md)
2022-06-16 08:48:50 -04:00
此预设的灵感来自于 [M365Princess ](https://github.com/JanDeDobbeleer/oh-my-posh/blob/main/themes/M365Princess.omp.json )。 它同时也演示了 Starship 的路径替换功能。
2022-03-24 15:47:11 -05:00
[](./pastel-powerline)
2022-12-05 15:54:12 +09:00
## [Tokyo Night](./tokyo-night.md)
2023-02-26 01:15:06 +09:00
此预设受 [tokyo-night-vscode-theme ](https://github.com/enkia/tokyo-night-vscode-theme ) 的启发。
2022-12-05 15:54:12 +09:00
2023-02-26 01:15:06 +09:00
[](./tokyo-night)
2023-12-29 03:07:36 +09:00
## [Gruvbox Rainbow](./gruvbox-rainbow.md)
This preset is heavily inspired by [Pastel Powerline ](./pastel-powerline.md ), and [Tokyo Night ](./tokyo-night.md ).
[](./gruvbox-rainbow)
2024-03-04 01:54:51 +09:00
## [Jetpack](./jetpack.md)
2024-10-18 03:20:57 +09:00
这是一个伪最简的预设,灵感来自 [geometry ](https://github.com/geometry-zsh/geometry ) 和 [spaceship ](https://github.com/spaceship-prompt/spaceship-prompt )。
2024-03-04 01:54:51 +09:00
2025-04-28 00:53:07 +09:00
[](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow ](./gruvbox-rainbow.md ) using the [Catppuccin ](https://github.com/catppuccin/catppuccin ) theme palette.
[](./catppuccin-powerline)