ENH apparenlty this was not actually needed

This commit is contained in:
Nathan Dwarshuis 2022-08-29 13:10:58 -04:00
parent 0a6f5b37d9
commit 5e5245be8d
1 changed files with 1 additions and 9 deletions

View File

@ -120,15 +120,7 @@ fi
HOSTNAME=""
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
if exists hostnamectl; then
literal_hostname="$(hostnamectl hostname)"
else
literal_hostname="$(cat /etc/hostname)"
fi
if [ -n "$literal_hostname" ]; then
#HOSTNAME="@%M"
HOSTNAME="@$literal_hostname"
fi
HOSTNAME="@%M"
fi
## git prompt