Environment variables not updated when creating a new tab. #16119

Open
opened 2026-01-31 04:58:01 +00:00 by claunia · 0 comments
Owner

Originally created by @alexmera88 on GitHub (Dec 14, 2021).

Windows Terminal version

1.11.2921.0

Windows build number

10.0.19042.1348

Other Software

No response

Steps to reproduce

  1. Open a Command Prompt tab (it also occurs with a Powershell tab).
  2. Type "SET" to display environment variables.
  3. Create or edit any Environment Variable
  4. Open a new Command Prompt tab.
  5. Type "SET" to display environment variables.

Expected Behavior

The environment variable value displayed in the tab opened AFTER creating/editing the variable is the current one.

Actual Behavior

The environment variable value displayed in the tab opened AFTER creating/editing the variable is NOT the current one.

Originally created by @alexmera88 on GitHub (Dec 14, 2021). ### Windows Terminal version 1.11.2921.0 ### Windows build number 10.0.19042.1348 ### Other Software _No response_ ### Steps to reproduce 1. Open a Command Prompt tab (it also occurs with a Powershell tab). 2. Type "SET" to display environment variables. 3. Create or edit any Environment Variable 4. Open a new Command Prompt tab. 5. Type "SET" to display environment variables. ### Expected Behavior The environment variable value displayed in the tab opened AFTER creating/editing the variable is the current one. ### Actual Behavior The environment variable value displayed in the tab opened AFTER creating/editing the variable is NOT the current one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16119