Skip to content
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

WSLENV var set in Windows 11 is not honored in Warp WSL shell #6241

Open
3 tasks done
Lotti opened this issue Apr 2, 2025 · 1 comment
Open
3 tasks done

WSLENV var set in Windows 11 is not honored in Warp WSL shell #6241

Lotti opened this issue Apr 2, 2025 · 1 comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@Lotti
Copy link

Lotti commented Apr 2, 2025

Pre-submit Checks

Describe the bug

Warp terminal overwrites WSLENV environment variable value instead of merge Warp value with the one coming from Windows 11, when opening a WSL shell.
On Windows Powershell my WSLENV variable is respect and works perfectly.

To reproduce

I simply installed Warp and observed that is not taking the correct WSLENV var I set on Windows. More details in "Expected behaviour" section.

Expected behavior

My WSLENV defined at user level:

WSLENV=AZURE_DEVOPS_EXT_PAT/u

WSLENV set by Warp:

WSLENV=WARP_HONOR_PS1/u:WARP_USE_SSH_WRAPPER/u:WARP_SHELL_DEBUG_MODE/u:TERM_PROGRAM/u:WARP_IS_LOCAL_SHELL_SESSION/u:SSH_SOCKET_DIR/u:WARP_

Expected WSLENV set by Warp:

WSLENV=AZURE_DEVOPS_EXT_PAT/u:WARP_HONOR_PS1/u:WARP_USE_SSH_WRAPPER/u:WARP_SHELL_DEBUG_MODE/u:TERM_PROGRAM/u:WARP_IS_LOCAL_SHELL_SESSION/u:SSH_SOCKET_DIR/u:WARP_

Screenshots, videos, and logs

My WSLENV var
Image

WSLENV set by Warp
Image

Operating system (OS)

Windows

Operating system and version

Windows 11 with Debian 12 as WSL

Shell Version

both bash 5.2.15 and zsh 5.9

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

N/A

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

@Lotti Lotti added the Bugs Bugs, Hangs, Crash, and Freezes label Apr 2, 2025
@acarl005
Copy link

acarl005 commented Apr 3, 2025

Oops we should merge these instead of over-writing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

2 participants