ENH apparenlty this was not actually needed
This commit is contained in:
parent
0a6f5b37d9
commit
5e5245be8d
|
@ -120,15 +120,7 @@ fi
|
||||||
|
|
||||||
HOSTNAME=""
|
HOSTNAME=""
|
||||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||||
if exists hostnamectl; then
|
HOSTNAME="@%M"
|
||||||
literal_hostname="$(hostnamectl hostname)"
|
|
||||||
else
|
|
||||||
literal_hostname="$(cat /etc/hostname)"
|
|
||||||
fi
|
|
||||||
if [ -n "$literal_hostname" ]; then
|
|
||||||
#HOSTNAME="@%M"
|
|
||||||
HOSTNAME="@$literal_hostname"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## git prompt
|
## git prompt
|
||||||
|
|
Loading…
Reference in New Issue