-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The environment variables of "Open in Windows Terminal" and "Manually Start Windows Terminal" are inconsistent. #12602
Comments
I have the same issue |
|
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Is the Terminal already running when you open a new tab via the Explorer context menu? A screenrecord: |
This comment was marked as spam.
This comment was marked as spam.
Any updates on this? It's slightly annoying having to open Terminal via the start menu and having to navigate to the folder every time. |
This is what worked for me to fix this issue: It looks like that windows allows this app and its processes to run in the background even after you close the window. So if you closed the window and changed some Environment variables if any of these processes are left running in the background it will not refresh them fully. It is still strange as why it is refreshing the variables for the instance launched via start menu but not for the instance that is launched via context menu. |
If you use autohotkey, see #8862 (comment) |
Having the same problem with pnpm. Opening the terminal from the start menu works properly but opening the terminal from the right click context menu will not have |
This almost certainly was resolved by #14999. Yep, I just checked this on a fresh off |
Windows Terminal version
1.11.3471.0
Windows build number
10.0.22000.0
Other Software
No response
Steps to reproduce
First, add
D:\DHYProjects\Las2Osgt\osg;
toPath
in environment variable.在 Windows 终端中打开
)Mark as WT1:
and Manually Start Windows Terminal, mark as WT2:
Path
environment variable:Expected Behavior
Their values should be exactly the same.
Actual Behavior
I can't find
D:\DHYProjects\Las2Osgt\osg
in WT1, which is started by right-click in explorer.I have trid to kill explorer.exe and restart it in Task Manager. It doesn't work.
It looks like I'll have to reboot my computer to get it work.
The text was updated successfully, but these errors were encountered: