2022-03-11 21:48:44 +01:00
|
|
|
[Return to Presets](./README.md#bracketed-segments)
|
2022-03-08 22:54:26 +01:00
|
|
|
|
|
|
|
# Bracketed Segments Preset
|
|
|
|
|
|
|
|
This preset changes the format of all the built-in modules to show their segment
|
|
|
|
in brackets instead of using the default Starship wording ("via", "on", etc.).
|
|
|
|
|
|
|
|
![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png)
|
|
|
|
|
|
|
|
### Configuration
|
|
|
|
|
2022-08-02 11:51:15 +02:00
|
|
|
```sh
|
2023-03-03 11:46:16 +01:00
|
|
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
2022-08-02 11:51:15 +02:00
|
|
|
```
|
|
|
|
|
2022-03-08 22:54:26 +01:00
|
|
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
|
|
|
|
2023-04-25 16:43:51 +02:00
|
|
|
@[code](../.vuepress/public/presets/toml/bracketed-segments.toml)
|