prettify your terminal - ThuyNT13/my_setup GitHub Wiki
.bash_profile or .bashrc
.bash_profile is executed for login shells (configuration setup upon console login like remotely _ssh_ing) and .bashrc for interactive non-login shells (opening up terminal after logged in). Add script below to your .bash_profile to source .bashrc and setup your shell configurations in .bashrc.
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
References:
.bash_profile vs .bashrc - excellent breakdown of difference between .bash_profile, bashrc, as well as .profile.
About bash_profile and bashrc on macOS