Skip to content
cross platform bash configuration for system deployments
Shell
Find file

README.md

Installation

System-Wide Deployment

curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-system-wide | sudo bash

Local (User) Deployment

curl -L https://raw.githubusercontent.com/fnichol/bashrc/master/contrib/install-local | bash

Delay Loading Your Local Deployment

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
}
Something went wrong with that request. Please try again.