fix: correct json schema

This commit is contained in:
Jan De Dobbeleer 2021-03-21 15:04:23 +01:00 committed by Jan De Dobbeleer
parent cd3f8742ad
commit 4f1310b9d7

View file

@ -808,6 +808,12 @@
"properties": {
"template": {
"$ref": "#/definitions/template"
},
"display_default": {
"type": "boolean",
"title": "Display Default User Profile",
"description": "Display the segment when default user or not",
"default": true
}
}
}
@ -1103,7 +1109,7 @@
}
},
"then": {
"title": "Node Segment",
"title": "Python Segment",
"description": "https://ohmyposh.dev/docs/python",
"properties": {
"properties": {
@ -1111,6 +1117,12 @@
"display_version": {
"$ref": "#/definitions/display_version"
},
"display_default": {
"type": "boolean",
"title": "Display Default Env",
"description": "Show the name of the virtualenv when it's default (`system`, `base`)",
"default": true
},
"display_virtual_env": {
"type": "boolean",
"title": "Display Virtual Env",
@ -1195,7 +1207,7 @@
"description": "The name of the default user",
"default": ""
},
"display_default_user": {
"display_default": {
"type": "boolean",
"title": "Display Default User",
"description": "Display the segment when default user or not",