aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-10-24 15:20:13 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-10-24 15:31:50 +0200
commit543c1dc84f0e24ee4c85f90f2c2b86eaf94234c4 (patch)
tree7adc087b2d532c82a82083d52ab7bccec13638a9
parent2667e44ca957ec75f61266305e375c011fc52cd8 (diff)
Make bash use the same color for the exit status as zsh
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index ca3a9d3..d5f0250 100644
--- a/.bashrc
+++ b/.bashrc
@@ -106,6 +106,8 @@ __precmd()
if [[ $previous_exit -ne 0 ]]
then
PS1+="\001$SHELLC_F_RED\002"
+ else
+ PS1+="\001$SHELLC_F_LIGHTGRAY\002"
fi
PS1+="$(printf "%03i" "$previous_exit")\001$SHELLC_RESET_COLOR_F\002"