mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-01-30 02:28:28 +00:00
fix(status): add trailing space to pipestatus_format
(#6404)
This commit is contained in:
parent
22219727be
commit
8a38b8f6f1
4
.github/config-schema.json
vendored
4
.github/config-schema.json
vendored
@ -1715,7 +1715,7 @@
|
|||||||
"not_executable_symbol": "🚫",
|
"not_executable_symbol": "🚫",
|
||||||
"not_found_symbol": "🔍",
|
"not_found_symbol": "🔍",
|
||||||
"pipestatus": false,
|
"pipestatus": false,
|
||||||
"pipestatus_format": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style)",
|
"pipestatus_format": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style) ",
|
||||||
"pipestatus_separator": "|",
|
"pipestatus_separator": "|",
|
||||||
"recognize_signal_code": true,
|
"recognize_signal_code": true,
|
||||||
"sigint_symbol": "🧱",
|
"sigint_symbol": "🧱",
|
||||||
@ -6006,7 +6006,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"pipestatus_format": {
|
"pipestatus_format": {
|
||||||
"default": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style)",
|
"default": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style) ",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"pipestatus_segment_format": {
|
"pipestatus_segment_format": {
|
||||||
|
@ -4272,23 +4272,23 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| --------------------------- | ----------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
| `not_executable_symbol` | `'🚫'` | The symbol displayed when file isn't executable |
|
| `not_executable_symbol` | `'🚫'` | The symbol displayed when file isn't executable |
|
||||||
| `not_found_symbol` | `'🔍'` | The symbol displayed when the command can't be found |
|
| `not_found_symbol` | `'🔍'` | The symbol displayed when the command can't be found |
|
||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ impl<'a> Default for StatusConfig<'a> {
|
|||||||
pipestatus: false,
|
pipestatus: false,
|
||||||
pipestatus_separator: "|",
|
pipestatus_separator: "|",
|
||||||
pipestatus_format:
|
pipestatus_format:
|
||||||
"\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style)",
|
"\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style) ",
|
||||||
pipestatus_segment_format: None,
|
pipestatus_segment_format: None,
|
||||||
disabled: true,
|
disabled: true,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user