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
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) |