Last active
December 16, 2015 21:50
-
-
Save nicolasiensen/5503030 to your computer and use it in GitHub Desktop.
My .bash_profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
function parse_git_branch_and_add_brackets { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/' | |
} | |
export PATH="/usr/local/bin:$PATH" | |
export PS1="\[\e[1;29;42m\]\w\$(parse_git_branch_and_add_brackets)\[\e[m\] " | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
source ~/.rvm/scripts/rvm | |
alias pgstart="pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start" | |
alias pgstop="pg_ctl -D /usr/local/var/postgres stop -s -m fast" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment