jimeh / git-aware-prompt

Display current Git branch name in your terminal prompt when in a Git working directory.
Creative Commons Zero v1.0 Universal
2.16k stars 340 forks source link

Escape colors for PS1 Mac example #62

Closed amattheisen closed 6 years ago

amattheisen commented 6 years ago

This change corrects the readme suggestion for PS1 for MAC to colorize the prompt as intended.

joeytwiddle commented 5 years ago

Just a note: Escaping the colour variables is only needed if you initialise PS1 before you have sourced main.sh