From 50b206b70e069ec0527ed185e5f41a7a7a4b24c5 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Tue, 13 Nov 2012 19:44:34 +0100 Subject: .bash_prompt: Use `tput setaf 0` for white Using `tput setaf 0` instead of `tput setaf 256` makes sure that `WHITE` is white instead of the previous color. Thanks to @rudolph9 for reporting this in #153. --- .bash_prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_prompt b/.bash_prompt index 8e719c1..2ce0bed 100644 --- a/.bash_prompt +++ b/.bash_prompt @@ -15,7 +15,7 @@ if tput setaf 1 &> /dev/null; then ORANGE=$(tput setaf 172) GREEN=$(tput setaf 190) PURPLE=$(tput setaf 141) - WHITE=$(tput setaf 256) + WHITE=$(tput setaf 0) else MAGENTA=$(tput setaf 5) ORANGE=$(tput setaf 4) -- cgit v1.2.3