diff --git a/neofetch b/neofetch index 6577b9ec..879031c2 100755 --- a/neofetch +++ b/neofetch @@ -83,10 +83,7 @@ getmodel() { esac ;; - "Mac OS X") - model="$(sysctl hw.model)" - model="${model//hw.model: /}" - ;; + "Mac OS X") model="$(sysctl -n hw.model)" ;; esac }