diff --git a/neofetch b/neofetch index e81a65ab..a0b47881 100755 --- a/neofetch +++ b/neofetch @@ -1052,7 +1052,10 @@ get_cpu() { # Add CPU cores to the output. [[ "$cpu_cores" != "off" && "$cores" ]] && \ - cpu="$cpu ($cores)" + case "$os" in + "Mac OS X") cpu="${cpu/@/(${cores}) @}" ;; + *) cpu="$cpu ($cores)" ;; + esac # Add CPU speed to the output. if [[ "$cpu_speed" != "off" && "$speed" ]]; then