News for hackers. Stuff that matters.
Re:Bash Configurations Demystified by m_ram on Sunday July 21, 2013 @02:41AM (#6078067)
Programs like RVM add a .bash_profile file so you should be sure to append [[ -s ${HOME}/.profile ]] && source ${HOME}/.profile to the added .bash_profile file.

You can also rename .profile to .bash_profile on Ubuntu and Debian. All other distros that I've encountered set up .bash_profile by default.

Re:Bash Configurations Demystified by claudius on Sunday July 21, 2013 @05:37AM (#6078343)
.profile works nicer if you run another Shell, I presume, so can be added to every users home directory upon creation and not just to those of Bash users.

What I don’t get is why RVM adds a .bash_profile, when there is, for example, /etc/profile.d/.

Re:Bash Configurations Demystified by graywh on Sunday July 21, 2013 @08:28AM (#6078569)
Ubuntu uses .profile when you login via gdm (i.e., graphically).