fixing cpu being 686-class, or whatever
This commit is contained in:
parent
ccd5d9f526
commit
0bd5b7015b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2331,7 +2331,7 @@ get_cpu() {
|
|||
|
||||
"BSD")
|
||||
# Get CPU name.
|
||||
cpu="$(sysctl -n hw.model)"
|
||||
cpu="$(sysctl -n machdep.cpu_brand || sysctl -n hw.model)"
|
||||
cpu="${cpu/[0-9]\.*}"
|
||||
cpu="${cpu/ @*}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue