Azalea (on HyDEV-Daisy) 2022-08-13 11:24:37 -04:00
parent dce75a7d6d
commit ccecf6424d

View file

@ -1604,7 +1604,10 @@ get_title() {
case $title_fqdn in
on) hostname=$(hostname -f) ;;
*) hostname=$(hostname | cut -d. -f1);;
*)
hostname=${HOSTNAME:-$(hostname)}
hostname=${hostname%.*}
;;
esac
title=${title_color}${bold}${user}${at_color}@${title_color}${bold}${hostname}