aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/prompt
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc.d/prompt')
-rw-r--r--zshrc.d/prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc.d/prompt b/zshrc.d/prompt
index b2e155b..77276c1 100644
--- a/zshrc.d/prompt
+++ b/zshrc.d/prompt
@@ -5,7 +5,7 @@ command -v prompt >/dev/null && prompt off
if [ "$UID" -eq 0 ]; then
NCOLOR="red"
-elif [ -n "$IN_NIX_SHELL" ]; then
+elif [ -n "${IN_NIX_SHELL}${GUIX_ENVIRONMENT}" ]; then
NCOLOR="yellow"
else
NCOLOR="green"