diff --git a/base/.profile b/base/.profile index 17704d21..eae7ae65 100755 --- a/base/.profile +++ b/base/.profile @@ -273,7 +273,7 @@ _ps1bash() { if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then _prefix="${fg_bold}${fg_red}${_hostname}${r}${fg_red}:${r}${_prefix}" elif [ -n "$TOOLBOX_PATH" ]; then - _prefix="${fg_bold}${fg_magenta}toolbox${r}${fg_magenta}:${r}${_prefix}" + _prefix="${fg_bold}${fg_magenta}$(. /run/.containerenv && echo "$name")${r}${fg_magenta}:${r}${_prefix}" elif [ "$USER" != "salt" ]; then _prefix="${fg_bold}${fg_yellow}$USER${r}${fg_yellow}:${r}${_prefix}" fi