From 2ac2cf856a6695a1fc07075053e9074d25240158 Mon Sep 17 00:00:00 2001 From: cyrilst Date: Sun, 25 Oct 2020 19:10:15 +0100 Subject: [PATCH] pfetch: correctly display OS version of FreeBSD --- pfetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pfetch b/pfetch index 4e22558..5a140d6 100755 --- a/pfetch +++ b/pfetch @@ -290,6 +290,10 @@ get_os() { distro="$distro $openbsd_ver" ;; + FreeBSD) + distro="$os $(freebsd-version)" + ;; + (*) # Catch all to ensure '$distro' is never blank. # This also handles the BSDs.