diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-10-24 15:20:13 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-10-24 15:31:50 +0200 |
commit | 543c1dc84f0e24ee4c85f90f2c2b86eaf94234c4 (patch) | |
tree | 7adc087b2d532c82a82083d52ab7bccec13638a9 | |
parent | 2667e44ca957ec75f61266305e375c011fc52cd8 (diff) |
Make bash use the same color for the exit status as zsh
-rw-r--r-- | .bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |