summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-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;
}