Skip to content

Instantly share code, notes, and snippets.

@samstickland
Last active July 24, 2017 12:28
Show Gist options
  • Save samstickland/9756916b4e30dd39ecdaf293aafb4f36 to your computer and use it in GitHub Desktop.
Save samstickland/9756916b4e30dd39ecdaf293aafb4f36 to your computer and use it in GitHub Desktop.
Mac OS bash config
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias grep='ggrep --color=auto'
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
export INPUTRC="~/.inputrc" # Custom keybindings
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source "${GITAWAREPROMPT}/main.sh"
# export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
# export PS1="\[\033[33;1m\]\w\[\033[m\]\$ "
export PS1="\[\033[33;1m\]\w\[\033[m\]\[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment