mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(cmake): Fix spacing with missing variable (#2135)
This fixes the additional space when the `version` variable can't be populated.
This commit is contained in:
@@ -444,12 +444,12 @@ The `cmake` module shows the currently installed version of CMake if any of the
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| ---------- | ---------------------------------- | -------------------------------------------- |
|
||||
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
|
||||
| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
|
||||
| `style` | `"bold blue"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `cmake` module. |
|
||||
| Option | Default | Description |
|
||||
| ---------- | ------------------------------------ | -------------------------------------------- |
|
||||
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
|
||||
| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
|
||||
| `style` | `"bold blue"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `cmake` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user