From 3132af01d3e490a469af1db046317af8ec3e321f Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 6 Jul 2023 14:24:09 -0400 Subject: [PATCH] Add a color code for docker containers --- configs/zsh/prompt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/zsh/prompt.sh b/configs/zsh/prompt.sh index 915c345..dd2308c 100644 --- a/configs/zsh/prompt.sh +++ b/configs/zsh/prompt.sh @@ -8,6 +8,8 @@ NEWLINE=$'\n' # Use colors to signal local vs remote connections if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then HOST_COLOR="yellow" +elif [ "$EWCONFIG_IN_DOCKER" = "1" ]; then + HOST_COLOR="blue" else HOST_COLOR="green" fi