From ca6762ce5760107e8e4530f26b42c12906aa8530 Mon Sep 17 00:00:00 2001 From: jnats Date: Sat, 24 Apr 2021 13:34:08 +0100 Subject: Update nofetch --- nofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nofetch b/nofetch index ada19fe..1025e3e 100755 --- a/nofetch +++ b/nofetch @@ -54,9 +54,13 @@ else nofetch="something has gone terribly wrong" fi +# exceptions to the standard if [ $(uname -s) == "Darwin" ] then osname="macOS/" +elif [ $(uname -s) == "FreeBSD" ] +then + osname="" else osname=$(cat /etc/os-release | grep -w NAME | head -1 | sed "s/NAME=//g" | sed "s/\"//g")" " fi -- cgit v1.2.3