Add prompt support for distrobox

This commit is contained in:
Kenneth Benzie 2022-01-14 19:51:33 +00:00
parent 8628448d5d
commit 5d1f53e6b1

@ -44,7 +44,7 @@ prompt_fresh_setup() {
fi
local userhost=$USER
if [ "$SSH_CONNECTION" != "" ]; then
if [ "$SSH_CONNECTION" != "" ] || [ "$DISTROBOX_ENTER_PATH" != "" ]; then
local user="$user@%{%F{244}%}%M%{%f%}"
local userhost="$userhost@`hostname`"
fi