From afd8e56d589b8e3167f1b226f6ca64e81e10707e Mon Sep 17 00:00:00 2001 From: chance <29938254+yslgirl@users.noreply.github.com> Date: Sun, 10 Sep 2017 23:46:08 -0600 Subject: [PATCH] add macOS High Sierra support --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 55c125f9..b596272a 100755 --- a/neofetch +++ b/neofetch @@ -176,6 +176,7 @@ get_distro() { "10.10"*) codename="OS X Yosemite" ;; "10.11"*) codename="OS X El Capitan" ;; "10.12"*) codename="macOS Sierra" ;; + "10.13"*) codename="macOS High Sierra" ;; *) codename="macOS" ;; esac distro="$codename $osx_version $osx_build" @@ -186,7 +187,7 @@ get_distro() { case "$osx_version" in "10."[4-7]*) distro="${distro/${codename}/Mac OS X}" ;; "10."[8-9]* | "10.1"[0-1]*) distro="${distro/${codename}/OS X}" ;; - "10.12"*) distro="${distro/${codename}/macOS}" ;; + "10.1"[2-3]*) distro="${distro/${codename}/macOS}" ;; esac distro="${distro/ ${osx_build}}" ;;