From 2d08e1c45a5f1b740d7289dcdee032eb571fa0d0 Mon Sep 17 00:00:00 2001 From: Junhao Li Date: Tue, 30 May 2017 11:08:57 -0400 Subject: [PATCH] A colorized version for mac --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ffaadcc..d28e3a5 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,11 @@ end of the same file you pasted the installation code into earlier. #### Mac OS X ```bash +# Standard export PS1="\u@\h \W \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " + +# Colorized:) +export PS1="\[\033[01;32m\]\u@\h \[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " ``` Optionally, if you want a nice pretty prompt when using `sudo -s`, also add