Change background color in nix shell

This commit is contained in:
xenia 2023-10-19 14:25:49 +02:00
parent 756c49865d
commit 427044730d

View File

@ -89,7 +89,7 @@ in rec {
FG=0
NIX_CONTENT="$(get_stuff_in_nix)"
if [ ! -z "$NIX_BUILD_CORES" -o ! -z "$NIX_CONTENT" ] ; then
BG=56
BG=91
FG=15
fi
echo -en "%{\033[0m\033[38;5;''${FG}m\033[48;5;''${BG}m%} ";