-
Notifications
You must be signed in to change notification settings - Fork 88
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
How to get ~/.bashrc auto loaded when SSH session start? #30
Comments
Hm I just found the same problem. The default prompt is unhelpful as it omits the hostname, but worse, the hostname may not be set to what you need to correctly identify what the prompt relates to. Even /etc/profile.d/* is seemingly getting skipped. This means that you don't have any automatic visual cue as to what the command prompt belongs to. I am guessing that bash is being started in such a way that it is bypassing its entire initialisation process. However, if you then type "bash", you'll find that .bashrc gets executed. |
Hm I just found the same problem. The default prompt is unhelpful as it omits the hostname, but worse, the hostname may not be set to what you need to correctly identify what the prompt relates to. Even /etc/profile.d/* is seemingly getting skipped. This means that you don't have any automatic visual cue as to what the command prompt belongs to. I am guessing that bash is being started in such a way that it is bypassing its entire initialisation process. However, if you then type "bash", you'll find that .bashrc gets executed. It would be useful if the default prompt was "container-name: path # " too. |
I try to put in prmpt color in the bashrc flke but it is not loaded automatically i.e. I have to call
source ~/.bashrc
manually.The text was updated successfully, but these errors were encountered: