Skip to content

Instantly share code, notes, and snippets.

View StevenPartridge's full-sized avatar

Steven Partridge StevenPartridge

View GitHub Profile
parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'
}
PS1='\[\033[38;5;10m\]\u\[$(tput sgr0)\]\[\033[38;5;9m\]@\[$(tput sgr0)\]\[\033[38;5;220m\]\W\[$(tput sgr0)\]\[\033[38;5;15m\]:$(parse_git_branch)\n\\$ \[$(tput sgr0)\]'
{
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",

Keybase proof

I hereby claim:

  • I am stevenpartridge on github.
  • I am stevenpartridge (https://keybase.io/stevenpartridge) on keybase.
  • I have a public key ASDS2u_aiG9TyUUsbnPpnEbdx1urL4UBJX26neIUaYND4go

To claim this, I am signing this object: