[PR #14999] Reload environment variables by default; add setting to disable #30348

Closed
opened 2026-01-31 09:40:15 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/14999

State: closed
Merged: Yes


Summary of the Pull Request

Adds a global setting compatibility.reloadEnvironmentVariables with a default value of true. When set, during connection creation a new environment block will be generated to ensure it has the latest environment variables.

Validation Steps Performed

Manually tested - see video in the first second comment.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/14999 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds a global setting `compatibility.reloadEnvironmentVariables` with a default value of `true`. When set, during connection creation a new environment block will be generated to ensure it has the latest environment variables. ## Validation Steps Performed Manually tested - see video in the ~~first~~ second comment. ## PR Checklist - [x] Closes #1125 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [x] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:40:15 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30348