-
Notifications
You must be signed in to change notification settings - Fork 433
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
Windows Environment is not right #6246
Comments
How did you do this? In Control Panel? In your shell profile file? In the middle of a running session? |
Just install the GO lang, the installer will set it for you. In the Control Panel you can do it manually. |
How did the GO installer do it? Did it add it to %PATH% by editing your shell profile file or did it add it to the registry? If you restart Warp does the issue persist? |
Yes, it add an entry "USERPROFILE%\go\bin under Path of my personal environment. |
I presume you have many entries in your %PATH% containing macros. Is %USERPROFILE%\go\bin the only one failing to expand? |
No, i have many entries like %NVM_HOME%, %JAVA_HOME%, %USERPROFILE%... no environment variable is expanded, it just keep the original string. |
It's weird because you are the only one having this issue with macro expansion so far (who has reported it). Can you provide the following?
If you prefer not to post this information publicly on Github, please email to [email protected] and include a link to this issue. Thank you! |
Pre-submit Checks
Describe the bug
The program under %PATH% may not be found if the path contains macros like %USERPROFILE%
To reproduce
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Expected behavior
Let me run the exe under the %PATH% directories, without typing the full path.
Screenshots, videos, and logs
Under Warp, when you type:
$Env:Path
it will return:
%USERPROFILE%\go\bin
Under Windows Terminal, type the same command, it will return:
C:\Users\xxx\go\bin
That's the difference
Operating system (OS)
Windows
Operating system and version
Windows 11 24H2
Shell Version
Powershell 7.5.0
Current Warp version
v0.2025.03.26.08.10.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
The text was updated successfully, but these errors were encountered: