From 72a12b06b00362290a5cfd0ceb8d3501b6ce5cb2 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Fri, 9 Aug 2024 13:39:09 -0700 Subject: [PATCH 1/3] Add newTerminalArgs.reloadEnvironmentVariables to schema --- doc/cascadia/profiles.schema.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index e851d3c284b..daab4a28d2f 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -618,6 +618,11 @@ "type": "boolean", "default": false, "description": "This will override the profile's `elevate` setting." + }, + "reloadEnvironmentVariables": { + "type": "boolean", + "default": false, + "description": "When set to true, a new environment block will be generated when creating a new session. Otherwise, the session will instead inherit the variables the Terminal was started with." } }, "type": "object" From 01953ebda5fea30f0cbc0c6ce3865098861149d1 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Mon, 12 Aug 2024 10:10:52 -0700 Subject: [PATCH 2/3] remove redundancy --- doc/cascadia/profiles.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index daab4a28d2f..ab37e4cfb33 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -622,7 +622,7 @@ "reloadEnvironmentVariables": { "type": "boolean", "default": false, - "description": "When set to true, a new environment block will be generated when creating a new session. Otherwise, the session will instead inherit the variables the Terminal was started with." + "description": "When set to true, a new environment block will be generated when creating a new session. Otherwise, the session will inherit the variables the Terminal was started with." } }, "type": "object" From 35361c11a66e1b1f2b9798e5ac7b2fcc2d3ee899 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Tue, 13 Aug 2024 15:32:35 -0700 Subject: [PATCH 3/3] update default value Co-authored-by: Dustin L. Howett --- doc/cascadia/profiles.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index ab37e4cfb33..defe63d150b 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -621,7 +621,7 @@ }, "reloadEnvironmentVariables": { "type": "boolean", - "default": false, + "default": true, "description": "When set to true, a new environment block will be generated when creating a new session. Otherwise, the session will inherit the variables the Terminal was started with." } },