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