Fix hostname detection for obscuring FQDN.
This commit is contained in:
parent
ccd5d9f526
commit
4dc28cd65d
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1384,7 +1384,7 @@ get_title() {
|
|||
|
||||
case $title_fqdn in
|
||||
on) hostname=$(hostname -f) ;;
|
||||
*) hostname=${HOSTNAME:-$(hostname)} ;;
|
||||
*) hostname=$(hostname | cut -d. -f1);;
|
||||
esac
|
||||
|
||||
title=${title_color}${bold}${user}${at_color}@${title_color}${bold}${hostname}
|
||||
|
|
Loading…
Reference in a new issue