On Wednesday 2020-02-26 18:54, Hans-Peter Jansen wrote:
Am Mittwoch, 26. Februar 2020, 17:33:00 CET schrieb Andreas Schwab:
/etc/profile and ~/.profile are only read by login shells.
Thanks, Andreas.
Sure, and /etc/profile sources /etc/profile.d/*.sh as well as /etc/ profile.local. But it doesn't explain, why only fragments from settings of those files reaches the users environment, while a secondary login (with ssh or su -) is setup correctly.
Because the smart people at SUSE have this: /etc/bash.bashrc: PS1="${_t}${_u}:\w${_p} " which means they reset and force their PS1 on you every time you start a subshell of any kind (because it's in bashrc rather than profile.d). -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org