diff --git a/neofetch b/neofetch index a12109de..3caaf07c 100755 --- a/neofetch +++ b/neofetch @@ -864,6 +864,7 @@ getcpu () { "OpenBSD"* | "FreeBSD"*) # Get cpu name cpu="$(sysctl -n hw.model)" + cpu=${cpu/[0-9]\.*} cpu=${cpu/ @*} cpu=${cpu// } cpu=${cpu% }