-
Notifications
You must be signed in to change notification settings - Fork 103
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
HOME folder setting #40
Comments
Actually wsltty does not set HOME specifically. If you set HOME before starting it, the "home" directory would be different from |
Thanks, I had later figured out setting HOME before starting resolved the issue as you described My understanding now is that cygwin is responsible for setting the HOME (when unset) and wsltty just uses what it determines? |
There seems to be a misunderstanding, or I don't see what your actual issue is. |
If the windows environment variable HOME is unset. When wsltty is executed, mintty (I believe specifically the underlying cygwin library) sets the windows HOME environment variable to |
So if you start a Windows program from WSL, the WSL HOME is bypassed and the previous HOME passed to the program? |
Released 0.7.7. |
Where does the HOME environment get set to
%LOCALAPPDATA%\wsltty\home\%USERNAME%
?I am running into minor issues now that it is possible to execute windows binaries from WSL. Example: If I start visual studio code from WSL, it inherits the HOME environment, but the windows git it executes expects the HOME to be set to %USERPROFILE% or empty (and then it defaults it to %USERPROFILE), so now this process can't find ssh keys while running git.
Is it possible to unset the wsltty specific HOME environment variable before executing into WSL?
The text was updated successfully, but these errors were encountered: