Add a color code for docker containers
This commit is contained in:
parent
029db6e062
commit
3132af01d3
@ -8,6 +8,8 @@ NEWLINE=$'\n'
|
|||||||
# Use colors to signal local vs remote connections
|
# Use colors to signal local vs remote connections
|
||||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||||
HOST_COLOR="yellow"
|
HOST_COLOR="yellow"
|
||||||
|
elif [ "$EWCONFIG_IN_DOCKER" = "1" ]; then
|
||||||
|
HOST_COLOR="blue"
|
||||||
else
|
else
|
||||||
HOST_COLOR="green"
|
HOST_COLOR="green"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user