mirror of
https://github.com/starship/starship.git
synced 2024-12-12 18:22:21 +01:00
7485c90c9f
* feat(docs): move to vitepress * change up hero styles to match existing site * A bit more style tweaking * Replace stylus with plain CSS * improve unicode-range value for nerdfont --------- Co-authored-by: Matan Kushner <hello@matchai.dev>
18 lines
476 B
Markdown
18 lines
476 B
Markdown
[Return to Presets](./#bracketed-segments)
|
|
|
|
# Bracketed Segments Preset
|
|
|
|
這個預設樣式使所有模組使用括號片段內的格式顯示,而非使用 Starship 預設("via", "on", etc.)。
|
|
|
|
![括號片段預設樣式的截圖](/presets/img/bracketed-segments.png)
|
|
|
|
### 設定
|
|
|
|
```sh
|
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
|
```
|
|
|
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
|
|
|
<<< @/public/presets/toml/bracketed-segments.toml
|