2024-03-03 16:55:30 +00:00
|
|
|
[Return to Presets](./#bracketed-segments)
|
2022-03-08 21:54:26 +00: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 09:51:15 +00:00
|
|
|
```sh
|
2023-03-03 10:46:16 +00:00
|
|
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
2022-08-02 09:51:15 +00:00
|
|
|
```
|
|
|
|
|
2024-09-12 08:38:04 +00:00
|
|
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
2022-03-08 21:54:26 +00:00
|
|
|
|
2024-03-03 16:55:30 +00:00
|
|
|
<<< @/public/presets/toml/bracketed-segments.toml
|