CyberLeo [Sun, 17 Jun 2012 00:33:12 +0000 (19:33 -0500)]
Explicitly load bash_profile.d before processing bashrc.d
Some misguided /etc/profile scripts attempt to load ~/.bashrc before bash
can naturally load ~/.bash_profile; this should ensure bash_profile.d is
loaded before bashrc.d in all cases.
CyberLeo [Sun, 12 Feb 2012 00:24:57 +0000 (18:24 -0600)]
Split 20-flag into profile part (exports FLAG if wanted) and rc part (inserts FLAG into PS1 if it exists) to allow the flag to propagate to subshells properly