|
1359 | 1359 | "bluetooth" |
1360 | 1360 | ], |
1361 | 1361 | "default": "wifi|ethernet" |
1362 | | - }, |
1363 | | - "unit": { |
1364 | | - "type": "string", |
1365 | | - "title": "Transfer speed unit", |
1366 | | - "enum": [ |
1367 | | - "none", |
1368 | | - "b", |
1369 | | - "bps", |
1370 | | - "K", |
1371 | | - "Kbps", |
1372 | | - "M", |
1373 | | - "Mbps", |
1374 | | - "G", |
1375 | | - "Gbps", |
1376 | | - "T", |
1377 | | - "Tbps" |
1378 | | - ], |
1379 | | - "default": "none" |
1380 | 1362 | } |
1381 | 1363 | }, |
1382 | 1364 | "additionalProperties": false |
|
1673 | 1655 | "default": false |
1674 | 1656 | }, |
1675 | 1657 | "threshold": { |
1676 | | - "type": "number", |
| 1658 | + "type": "integer", |
1677 | 1659 | "title": "Threshold", |
1678 | 1660 | "description": "minimum duration (milliseconds) required to enable this segment", |
1679 | 1661 | "default": 500 |
|
3339 | 3321 | "description": "Custom glyph/text for specific paths", |
3340 | 3322 | "default": {} |
3341 | 3323 | }, |
| 3324 | + "mapped_locations_enabled": { |
| 3325 | + "type": "boolean", |
| 3326 | + "title": "Enable the Mapped Locations feature", |
| 3327 | + "description": "Replace known locations in the path with the replacements before applying the style.", |
| 3328 | + "default": true |
| 3329 | + }, |
3342 | 3330 | "max_depth": { |
3343 | 3331 | "type": "integer", |
3344 | 3332 | "title": "Maximum Depth", |
|
3354 | 3342 | "description": "Maximum path width to display for powerlevel style", |
3355 | 3343 | "default": 0 |
3356 | 3344 | }, |
3357 | | - "mapped_locations_enabled": { |
3358 | | - "type": "boolean", |
3359 | | - "title": "Enable the Mapped Locations feature", |
3360 | | - "description": "Replace known locations in the path with the replacements before applying the style.", |
3361 | | - "default": true |
3362 | | - }, |
3363 | 3345 | "mixed_threshold": { |
3364 | 3346 | "type": "integer", |
3365 | 3347 | "title": "Mixed threshold", |
|
3421 | 3403 | "description": "Display the Cygwin (Linux) style path using cygpath -u $PWD.", |
3422 | 3404 | "default": false |
3423 | 3405 | }, |
| 3406 | + "display_root": { |
| 3407 | + "type": "boolean", |
| 3408 | + "title": "Display the root directory (/) on Unix systems", |
| 3409 | + "description": "Display the root directory (/) on Unix systems.", |
| 3410 | + "default": false |
| 3411 | + }, |
3424 | 3412 | "dir_length": { |
3425 | 3413 | "type": "integer", |
3426 | 3414 | "title": "Directory Length", |
|
3656 | 3644 | "description": "Always show the segment", |
3657 | 3645 | "default": false |
3658 | 3646 | } |
3659 | | - }, |
3660 | | - "additionalProperties": false |
| 3647 | + } |
3661 | 3648 | } |
3662 | 3649 | } |
3663 | 3650 | } |
|
4021 | 4008 | }, |
4022 | 4009 | "then": { |
4023 | 4010 | "title": "Session Segment", |
4024 | | - "description": "https://ohmyposh.dev/docs/segments/system/session", |
4025 | | - "properties": { |
4026 | | - "options": { |
4027 | | - "properties": { |
4028 | | - "ssh_icon": { |
4029 | | - "type": "string", |
4030 | | - "title": "SSH Icon", |
4031 | | - "description": "Text/icon to display first when in an active SSH session", |
4032 | | - "default": "\uf817" |
4033 | | - } |
4034 | | - }, |
4035 | | - "additionalProperties": false |
4036 | | - } |
4037 | | - } |
| 4011 | + "description": "https://ohmyposh.dev/docs/segments/system/session" |
4038 | 4012 | } |
4039 | 4013 | }, |
4040 | 4014 | { |
|
4158 | 4132 | "type": "string", |
4159 | 4133 | "title": "Status Template", |
4160 | 4134 | "description": "The template to use for the status segment", |
4161 | | - "default": "|" |
| 4135 | + "default": "{{ .Code }}" |
4162 | 4136 | }, |
4163 | 4137 | "status_separator": { |
4164 | 4138 | "type": "string", |
|
4571 | 4545 | "properties": { |
4572 | 4546 | "cache_duration": { |
4573 | 4547 | "$ref": "#/definitions/cache_duration", |
4574 | | - "default": "none" |
| 4548 | + "default": "168h" |
4575 | 4549 | } |
4576 | 4550 | }, |
4577 | 4551 | "additionalProperties": false |
|
0 commit comments