diff --git a/neofetch b/neofetch index e4fdc2e5..e7e8881f 100755 --- a/neofetch +++ b/neofetch @@ -1765,7 +1765,7 @@ get_title() { ;; *) hostname=${HOSTNAME:-$(hostname)} - hostname=${hostname%.*} + hostname=${hostname%%.*} ;; esac