aboutsummaryrefslogtreecommitdiff
path: root/nofetch
diff options
context:
space:
mode:
Diffstat (limited to 'nofetch')
-rwxr-xr-xnofetch4
1 files changed, 3 insertions, 1 deletions
diff --git a/nofetch b/nofetch
index 2344614..b67d150 100755
--- a/nofetch
+++ b/nofetch
@@ -63,7 +63,9 @@ else
nofetch="something has gone terribly wrong"
fi
+osname=$(echo $osname | sed 's/FreeBSD //g')
+
echo " "
echo "> $nofetch" | tr '[:upper:]' '[:lower:]'
-echo "> $osname $(uname -smr)" | tr '[:upper:]' '[:lower:]' | sed 's/\b\([a-z]\+\)[ ,\n]\1/\1/g'
+echo "> $osname $(uname -smr)" | tr '[:upper:]' '[:lower:]'
echo " "