.profile: Fix cataclysm of prefixes on PS1

This commit is contained in:
Salt 2019-11-19 21:17:43 +00:00
parent 31a10f5f56
commit b6768b0137

View File

@ -281,6 +281,7 @@ _ps1bash() {
fg_bold="\[\e[1m\]"
# Add hostname prefix in SSH sessions
unset prefix
# Yes, shellcheck. I get it. That's what the or is for
#shellcheck disable=2039
if [ "$HOSTNAME" = "phys-saltshaker" ] || [ "$(hostname)" = "phys-saltshaker" ]; then