A bash user will eventually end up with
.profile, and maybe some more.
Now, each file gets loaded unders particular situations, and it all leads to confusion and frustration. I don't care about what shell is a login shell and neither should you.
I just want to make sure the same thing is loaded for every shell thing that happens.
So, what's the sane way to set them up?
I'd wager non-bash-specific things go into
.profile, and some file sources the others, etc. What exactly would in put in each to achieve an identical environment for every shell?
Note: I'm not asking what you particularly enjoy putting in your rc files, like aliases and functions and so on. Just how you lay them out so as not to have things randomly spliced amongst them.