Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ernsy on github.
* I am ernsy (https://keybase.io/ernsy) on keybase.
* I have a public key ASBOJFiZ-H4hqkiIrOlxp0EIS3yShYNMMxGAlxDj3LriwAo
To claim this, I am signing this object:
@ernsy
ernsy / .bash_profile
Last active May 14, 2019 10:32
bash_profile
export PATH=/usr/local/sbin/:$PATH
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
#bash prefix
#export PS1="\W \$"
#PS1='\[\e[1;32m\][\W]\[\033[32m\]\$(parse_git_branch)\[\033[00m\]$\[\e[0m\]'
export CLICOLOR=1

Keybase proof

I hereby claim:

  • I am ernstroux on github.
  • I am ernstr (https://keybase.io/ernstr) on keybase.
  • I have a public key ASCVZ68q_dvG_mgwiApmYoXTdo8ogL_9rndt36e3HbCo6wo

To claim this, I am signing this object: