From 63c532f2c591631efefc3b03d206e3dcb178b5a0 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sat, 3 Dec 2016 11:06:53 +0700 Subject: [PATCH] Kernel: Modify how kernel_shorthand works in BSDs --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 2c52ca8f..dabee931 100755 --- a/neofetch +++ b/neofetch @@ -273,7 +273,7 @@ get_kernel() { esac # Hardcode kernel settings in BSDs - if [[ "$os" == "BSD" && ! "$distro" =~ (PacBSD|PCBSD) ]]; then + if [[ "$os" == "BSD" && "$distro" =~ "$kernel_name" ]]; then case "$distro_shorthand" in "on" | "tiny") kernel="$kernel_version" ;; *) unset kernel ;;