From 2fd316eb9c5938acbbd1586bda64cb223ab83159 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 8 May 2016 10:06:49 +1000 Subject: [PATCH] Fix iphone model appearing in distro output --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index e19836fe..c6f23b53 100755 --- a/neofetch +++ b/neofetch @@ -501,7 +501,8 @@ getdistro () { ;; "iPhone OS") - distro="iOS $(sw_vers -productVersion)" + ios_version="$(sw_vers -productVersion)" + distro="iOS ${ios_version/ *}" ;; "OpenBSD")