aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/colors.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/colors.sh b/bash/colors.sh
index dde3dd74..90cabc40 100644
--- a/bash/colors.sh
+++ b/bash/colors.sh
@@ -105,6 +105,8 @@ if [ $? -eq 0 ]; then \
)" - $(echo "'$IBlack'"`git sha7`"'$Color_Off'"); \
fi)$(if [[ $IN_NIX_SHELL != "" ]]; then\
echo "\n'$IBlack'~>'$Color_Off' '$Purple'nix-shell'$Color_Off' ('$BIBlue'$name'$Color_Off')'$Color_Off'" ;\
+fi)$(if [[ $GUIX_ENVIRONMENT != "" ]]; then\
+ echo "\n'$IBlack'~>'$Color_Off' '$Purple'guix environment'$Color_Off' ('$BIBlue'$GUIX_ENVIRONMENT'$Color_Off')'$Color_Off'" ;\
fi)$(echo "\n'$BIPurple'\$'$Color_Off' ";)'