You can clone with
#color and git branch
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
PS1='\n\[\e[1;36m\]\w \[\e[m\]\[\e[1;33m\]$(parse_git_branch)\[\e[m\] \n> '
I love the little Apple symbol for the prompt. Thanks! :)
Just for clarification, how exactly does this operate? If you edit a git branch does it automatically change your prompt to show the branch your editing?
you'll see the current brnach your working in next to your path. The regex parses the branch name
That's what I figured / hoped. Thanks!