diff --git a/bash/prompt.sh b/bash/prompt.sh index b1640b107..0a1de6976 100755 --- a/bash/prompt.sh +++ b/bash/prompt.sh @@ -92,6 +92,14 @@ function parse_git_dirty { # Comment - allow for command history to be copied directly to bash script PS1="${COLOURS["$PC","PS"]}# " +if [ -f "/run/.containerenv" ]; then + # Sigil to indicate host, distrobox or ssh + PS1="${COLOURS["0","PS"]}⧉ " +elif [[ -z $SSH_CLIENT ]]; then + PS1="${COLOURS["1","PS"]}⌂ " +else + PS1="${COLOURS["1","PS"]}🖧 " +fi # Time PS1="${PS1}${COLOURS["$TC","PS"]}\\t "