Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View CassyJens's full-sized avatar

Cassy Jens CassyJens

View GitHub Profile
@ConnorDoyle
ConnorDoyle / .bash_profile
Created March 6, 2014 17:56
Git Branch - Bash Profile
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
yellow=$(tput setaf 3)
green=$(tput setaf 2)
cyan=$(tput setaf 6)
purple=$(tput setaf 5)
bold=$(tput bold)
reset=$(tput sgr0)