2024-03-03 17:55:30 +01:00
|
|
|
[Return to Presets](./#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
|
|
|
```
|
|
|
|
|
2024-09-12 10:38:04 +02:00
|
|
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
2022-03-08 22:54:26 +01:00
|
|
|
|
2024-03-03 17:55:30 +01:00
|
|
|
<<< @/public/presets/toml/bracketed-segments.toml
|