Merge pull request #364 from iandrewt/hyperthreading-fix
fix macOS to show physical cores
This commit is contained in:
commit
084541fe34
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -720,7 +720,7 @@ getcpu() {
|
|||
|
||||
"Mac OS X")
|
||||
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
||||
cores="$(sysctl -n hw.ncpu)"
|
||||
cores="$(sysctl -n hw.physicalcpu)"
|
||||
;;
|
||||
|
||||
"iPhone OS")
|
||||
|
|
Loading…
Reference in a new issue