OSX Terminal startup

Here I found an answer I’ve been looking for for a while. After reading it I migrated everything from ~/.bash_login and ~/.profile to ~/.bash_profile and now when I open a new Terminal window my environmental variables are setup as I wish.


[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

# MacPorts Installer addition on 2012-06-21_at_13:10:00: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

# For terminal colour
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced

# for custom prompt like `username directory $` in pretty colours
PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;32m\]'