~/.profile
is only sourced for interactive login shells. If you're starting a shell that's interactive but it's not a login shell, then ~/.bashrc
is sourced.
~/.profile is not sourced on startup
~/.profile
is only sourced for interactive login shells. If you're starting a shell that's interactive but it's not a login shell, then ~/.bashrc
is sourced.