Change background color in nix shell
This commit is contained in:
parent
756c49865d
commit
427044730d
2
home.nix
2
home.nix
|
@ -89,7 +89,7 @@ in rec {
|
||||||
FG=0
|
FG=0
|
||||||
NIX_CONTENT="$(get_stuff_in_nix)"
|
NIX_CONTENT="$(get_stuff_in_nix)"
|
||||||
if [ ! -z "$NIX_BUILD_CORES" -o ! -z "$NIX_CONTENT" ] ; then
|
if [ ! -z "$NIX_BUILD_CORES" -o ! -z "$NIX_CONTENT" ] ; then
|
||||||
BG=56
|
BG=91
|
||||||
FG=15
|
FG=15
|
||||||
fi
|
fi
|
||||||
echo -en "%{\033[0m\033[38;5;''${FG}m\033[48;5;''${BG}m%} ";
|
echo -en "%{\033[0m\033[38;5;''${FG}m\033[48;5;''${BG}m%} ";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user