From 0ad3647ddccb969afd3833b4e2cb9d3a63e46973 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 13 Jul 2024 10:11:14 +0000 Subject: [PATCH] Make prompt also detect running in a container --- prompt_fresh_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt_fresh_setup b/prompt_fresh_setup index 7a139f2..dada470 100644 --- a/prompt_fresh_setup +++ b/prompt_fresh_setup @@ -44,7 +44,7 @@ prompt_fresh_setup() { fi local userhost=$USER - if [ "$SSH_CONNECTION" != "" ] || [ "$DISTROBOX_ENTER_PATH" != "" ]; then + if [ "$SSH_CONNECTION" != "" ] || [ "$container" != "" ]; then local user="$user@%{%F{244}%}%M%{%f%}" local userhost="$userhost@`hostname`" fi