From 50a2bdcc95b533e1910dd4a9a1245b9bc657ecd8 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sat, 15 Oct 2016 22:57:45 +1100 Subject: [PATCH] fix macOS to show physical cores --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 6e66260e..7914d1c5 100755 --- a/neofetch +++ b/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")