-
Notifications
You must be signed in to change notification settings - Fork 4
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
No windows path #2
Comments
Huh that's strange. I don't know what causes the windows path to be appended but I'll take a look at other distros that do it and see if I can figure it out. |
If I delete this file |
I'm trying to figure out what would be the best fix for this. I can't delete |
You don't need to add the path to the profile. Check /etc/profile in Pengwin or Ubuntu you'll see an if not WSL then add the path. |
Alright I'm a bit confused. I see the check for not running on WSL, but is there any time that check would actually pass? I assume microsoft will always be found in |
I think that the check won't ever pass even if you are root but I need to confirm that |
So, I ran into this in my Gentoo-on-WSL setup and found this issue while looking for a solution. For others' reference:
It's also important to point out that the The only place I can see where you might plumb the Windows path through is in In all honesty, I wouldn't worry too much about multiple sourcings of |
In the end, this in
If I really cared, I could check if WINPATH already existed, and not reassign it if it did. |
Hello,
I was giving a look at your Gentoo build and I found that it doesn't have Windows Path appended:
I investigated a bit but I don't find the reason why it is not there. Even if I add:
It doesn't work
The text was updated successfully, but these errors were encountered: