From 53d2cf6661332c29b58cf5b8ff47f7873fd361dc Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Sun, 14 Aug 2016 14:09:28 +1000 Subject: [PATCH] made PR two lines shorter :) --- neofetch | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 }