From cc822cb168003f3ebe5d294f0e820ba71bd73bee Mon Sep 17 00:00:00 2001 From: amattheisen Date: Wed, 10 Oct 2018 07:41:23 -0500 Subject: [PATCH] Escape colors for PS1 Mac example This change corrects the readme suggestion for PS1 for MAC to colorize the prompt as intended. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffaadcc..b6b25ed 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ end of the same file you pasted the installation code into earlier. #### Mac OS X ```bash -export PS1="\u@\h \W \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " +export PS1="\u@\h \W \[\$txtcyn\]\$git_branch\[\$txtred\]\$git_dirty\[\$txtrst\]\$ " ``` Optionally, if you want a nice pretty prompt when using `sudo -s`, also add