aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjnats <dev@jnats.xyz>2021-04-24 13:34:08 +0100
committerGitHub <noreply@github.com>2021-04-24 13:34:08 +0100
commitca6762ce5760107e8e4530f26b42c12906aa8530 (patch)
treefc89d15b6936908773d59a068672a1f1b4b0668d
parent050f4069aad43e44513aaa95ec119743f3ecd38f (diff)
downloadnofetch-ca6762ce5760107e8e4530f26b42c12906aa8530.tar.gz
nofetch-ca6762ce5760107e8e4530f26b42c12906aa8530.tar.bz2
Update nofetch
-rwxr-xr-xnofetch4
1 files changed, 4 insertions, 0 deletions
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