diff --git a/neofetch b/neofetch index 4eb6db0b..6d53d1ce 100755 --- a/neofetch +++ b/neofetch @@ -1460,7 +1460,7 @@ get_shell() { "bash") shell+="${BASH_VERSION/-*}" ;; "sh" | "ash" | "dash") ;; - "mksh" | "ksh") + *"ksh") shell+="$("$SHELL" -c "printf %s \"\$KSH_VERSION\"")" shell="${shell/ * KSH}" shell="${shell/version}"