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
WSL Bash - .profile is not read #1298
Comments
What did you compare with? Where.profile is working |
Default terminal installed with WSL (exactly Ubuntu from Windows Store after recent Fall Creators update). The one with ubuntu-like icon. And apparently windows tells me it's called Ubuntu. Yeah, for sure it is it. |
This looks like Microsoft bug. |
If you had installed previously |
Connector was updated. But it's recommended to uninstall legacy version of ‘Bash on Ubuntu on Windows’, use command `lxrun /uninstall`. * https://msdn.microsoft.com/commandline/wsl/install-win10 * https://msdn.microsoft.com/en-us/commandline/wsl/reference
FYI, this might be coming natively: rprichard/wslbridge#18 |
@Maximus5 My windows 10 is version 1703, how do I install wsl.exe? I don't have that one in my system. |
Update to the Windows 10 Fall Creator Update (1709). |
Until this is supported natively by wslbridge, I've managed to get
The |
The same is done automatically by connector. 12 days ago. |
Correct, but I didn't see a new connector release with that code change. Also, still useful information for anyone who wants to run a different shell, since wslbridge doesn't respect the user's default shell. |
Connector is bundled into ConEmu. Wasn't it updated in alpha? |
I'm running the preview channel. |
Latest alpha -
Found this Maximus5/cygwin-connector#3 (comment) and it works. Any reason normal Ubuntu keys not working? I have AppKeys and XTerm selected. However, it stops working after few minutes or few lines and arrows return to their previous function - really annoying! Gonna switch back to Mintty as it doesn't have any of these issues Also terminals still starts in |
@rolandas-valantinas Your question is offtopic because your |
The issue is closed due to |
Versions
ConEmu build: 170910 x64
OS version: Windows 10 x64, 1709, 16299.19
Used shell version: WSL, Bash 4.3.48(1)-release (not sure how to check WSL version but it's fully updated for the day of this post)
Problem description
.profile is not read by ConEmu {bash} shell which leads to problems like default $PATH is not set.
In PATH folders set by default in .profile in Ubuntu/WSL Python pip things are installed. Of course one can modify path .bashrc but those are by default in .profile.
Steps to reproduce
Actual results
.profile is not read by ConEmu {bash} shell
Expected results
.profile is read by shell in ConEmu like it's read by default WSL terminal.
The text was updated successfully, but these errors were encountered: