Sigals to denote terminal type
This commit is contained in:
parent
415c3cb185
commit
2dc20ed151
|
@ -92,6 +92,14 @@ function parse_git_dirty {
|
||||||
|
|
||||||
# Comment - allow for command history to be copied directly to bash script
|
# Comment - allow for command history to be copied directly to bash script
|
||||||
PS1="${COLOURS["$PC","PS"]}# "
|
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
|
# Time
|
||||||
PS1="${PS1}${COLOURS["$TC","PS"]}\\t "
|
PS1="${PS1}${COLOURS["$TC","PS"]}\\t "
|
||||||
|
|
Loading…
Reference in New Issue