.profile: Fix cataclysm of prefixes on PS1
This commit is contained in:
parent
31a10f5f56
commit
b6768b0137
1
.profile
1
.profile
@ -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
|
||||
|
Reference in New Issue
Block a user