From d1cd0fd74162e2a54a757c6701b57a5b189f1611 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 15 Dec 2016 21:44:02 +1100 Subject: [PATCH] Shell: Cut 'version' from ksh output --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index d65082c5..4d9ddbf6 100755 --- a/neofetch +++ b/neofetch @@ -510,6 +510,7 @@ get_shell() { "mksh" | "ksh") shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')" shell="${shell/ * KSH}" + shell="${shell/Version}" ;; esac