bashrc

Proper way to load ~/.bashrc

Tag(s):

On most systems, ~/.bashrc is only used when starting an interactive non-login shell. However, when you start up a new shell it is often an interactive login shell. Since this is a login shell, the .bashrc is ignored. To keep the environment consistent between non-login and login shells, you must source the .bashrc from your .profile or your .bash_profile.

http://superuser.com/a/147699

Subscribe to RSS - bashrc