From a97921d6509c099d545b9e6570794f3b7ab0f247 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 25 Jun 2019 09:58:33 +0200 Subject: [PATCH] Improve colouring in git bash prompt --- bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index b38f464..3ae9f8a 100644 --- a/bashrc +++ b/bashrc @@ -49,6 +49,7 @@ git__prompt () { yellow='\033[01;33m' red='\033[01;31m' green='\033[01;32m' + purple='\033[01;35m' # SYNC if [ -z $ahead ] && [ -z $behind ] @@ -61,7 +62,7 @@ git__prompt () { then echo -ne " ${green}↑${ahead}" else - echo -ne " ${red}↓${behind}${yellow}↑${ahead}" + echo -ne " ${red}↓${behind}${red}↑${ahead}" fi # BRANCH @@ -106,7 +107,7 @@ git__prompt () { fi if [ $untracked -ne 0 ] then - echo -ne " ${red}+$untracked" + echo -ne " ${purple}+$untracked" fi fi }