summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-11-10 08:08:07 +0200
committerSyndamia <kamen@syndamia.com>2024-11-10 08:08:07 +0200
commit62fd724f7857a99435b340a77d256bbdcb407b6b (patch)
tree9496f3d14e0cacac20f9b31616ce6c9e17749c84
parent9f7ce25bd518c0dbe647c934003db376ebadc84e (diff)
downloaddotfiles-62fd724f7857a99435b340a77d256bbdcb407b6b.tar
dotfiles-62fd724f7857a99435b340a77d256bbdcb407b6b.tar.gz
dotfiles-62fd724f7857a99435b340a77d256bbdcb407b6b.zip
feat(bash): Make lighter blue appear in nix develop, alongside nix-shell
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index fa1eb82..9eefc15 100644
--- a/.bashrc
+++ b/.bashrc
@@ -44,7 +44,7 @@
PS_BG=0
hc_mode && PS_FG=223 || PS_FG=7
hc_mode && PS_USER_BG=66 || PS_USER_BG=4
- [ -n "$IN_NIX_SHELL" ] && {
+ [ -n "$IN_NIX_SHELL" -o -n "$NIX_GCROOT" ] && {
hc_mode && PS_USER_BG=67 || PS_USER_BG=6;
}