- Make sure you're using the bash shell by running
echo $
in your terminal. If your output is anything other than-bash
this code won't work. - Copy and paste the code in prompt.sh into your
~/.bash_profile
file and runsource ~/.bash_profile
. - Customize to your heart's content!
Resources: