In order to use rvm (https://rvm.beginrescueend.com/), I need to run
source ~/.bash_profile
each time when I start a new shell. How do I automatically do this when I start my computer, rather than having to type it each time?
This is my .bash_profile:
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# Load RVM into a shell session *as a fu nction*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
# Load RVM function