curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-system-wide | sudo bash
curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-local | bash
Simply wrap the code in your ${HOME}/.bash_profile
with a function, like so:
bl() {
if [[ -s "${HOME}/.bash/bashrc" ]] ; then
bashrc_local_install=1
bashrc_prefix="${HOME}/.bash"
export bashrc_local_install bashrc_prefix
source "${bashrc_prefix}/bashrc"
fi
}