Closed
Description
Environment
Microsoft Windows 10 Pro for Workstations
10.0.19042.804 (2009, 20H2)
Windows Terminal Preview
Version: 1.6.10412.0
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):
Any other software?
Steps to reproduce
See below.
Expected behavior
Same behavior whether in WT or not
Actual behavior
Behavior different and undesirable when in WT.
In my three Windows shells (CMD, Powershell, TCC), when running in WT
- the environment block is ordered differently, and
- new environment variables seem to go in the wrong place
Here's a new CMD.EXE running in a Windows console; this is expected behavior.
And here's a new CMD.EXE running in Windows Terminal. Note that the variables __VIP (from the user environment) and WT (newly created) are out of place.