From b80531fb4c3568c8739f2f850d27834dbdb28e4d Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 3 Apr 2020 03:50:42 -0500
Subject: [PATCH] .profile: Show hostname in SSH sessions

---
 .profile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.profile b/.profile
index 091ae9ba..e160de39 100755
--- a/.profile
+++ b/.profile
@@ -292,7 +292,7 @@ _ps1bash() {
 	unset prefix
 	# Alert if in an SSH session
 	if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
-		prefix="${fg_bold}${fg_red}ssh${r}${fg_red}:${r}${prefix}"
+		prefix="${fg_bold}${fg_red}$(hostname -s)${r}${fg_red}:${r}${prefix}"
 	fi
 	# Change PWD color depending on the shell
 	case $0 in