On 28Oct2017 10:02, Tom H <tomh0665(a)gmail.com> wrote:
On Wed, Oct 25, 2017 at 6:13 PM, Cameron Simpson <cs(a)cskk.id.au>
wrote:
>
> There are at least 2 things wrong.
>
> First, the .bashrc (which one presumes first came from the template in
> /etc/skel) should source /etc/bashrc _first_, not last.
>
> Second, /etc/bashrc should _not_ be sourcing anything in
> /etc/profile.d. That is for _login_ shells.
Fedora's been sourcing "/etc/profile.d/*.sh" for many years. IIRC, the
rationale's that it equalizes login and interactive sessions.
[ Specificly, ourcing this from the bashrc. ] Yeah I know. I loathe it. I
understand the tradeoff there, and why it came about. Still unhappy.
Cheers,
Cameron Simpson <cs(a)cskk.id.au> (formerly cs(a)zip.com.au)