Restore # at front of prompt

This commit is contained in:
John Mertz 2022-11-07 21:45:04 -05:00
parent eb5b21e2e8
commit 6b0649a8e3
1 changed files with 3 additions and 3 deletions

View File

@ -94,11 +94,11 @@ function parse_git_dirty {
PS1="${COLOURS["$PC","PS"]}# "
if [ -f "/run/.containerenv" ]; then
# Sigil to indicate host, distrobox or ssh
PS1="${COLOURS["0","PS"]}"
PS1="${PS1}${COLOURS["0","PS"]}"
elif [[ -z $SSH_CLIENT ]]; then
PS1="${COLOURS["1","PS"]}"
PS1="${PS1}${COLOURS["1","PS"]}"
else
PS1="${COLOURS["1","PS"]}🖧 "
PS1="${PS1}${COLOURS["1","PS"]}🖧 "
fi
# Time