2024-03-03 17:55:30 +01:00
|
|
|
|
[返回全部预设](./#bracketed-segments)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
|
|
|
|
# Bracketed Segments Preset
|
|
|
|
|
|
2022-06-16 14:48:50 +02:00
|
|
|
|
此预设使用括号来分隔所有组件的提示符,不使用 Starship 默认的分隔词(“via”,“on” 等等)。
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
2022-10-15 03:53:32 +02:00
|
|
|
|
![Bracketed Segments preset预设屏幕截图](/presets/img/bracketed-segments.png)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
|
|
|
|
### 配置
|
|
|
|
|
|
2022-08-14 21:31:27 +02:00
|
|
|
|
```sh
|
2023-04-11 06:05:27 +02:00
|
|
|
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
2022-08-14 21:31:27 +02:00
|
|
|
|
```
|
|
|
|
|
|
2022-06-27 00:29:51 +02:00
|
|
|
|
[点击下载 TOML 文件](/presets/toml/bracketed-segments.toml)
|
2022-03-09 03:11:36 +01:00
|
|
|
|
|
2024-03-03 17:55:30 +01:00
|
|
|
|
<<< @/public/presets/toml/bracketed-segments.toml
|