fix macOS to show physical cores
This commit is contained in:
parent
649dab6dc0
commit
50a2bdcc95
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -720,7 +720,7 @@ getcpu() {
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
||||||
cores="$(sysctl -n hw.ncpu)"
|
cores="$(sysctl -n hw.physicalcpu)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"iPhone OS")
|
"iPhone OS")
|
||||||
|
|
Loading…
Reference in a new issue