From 4f1310b9d742e2de0c10a643c2fba60ce8597ecd Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 21 Mar 2021 15:04:23 +0100 Subject: [PATCH] fix: correct json schema --- themes/schema.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/themes/schema.json b/themes/schema.json index 9551716b..050d23a8 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -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",