diff --git a/neofetch b/neofetch index 3ae85ee0..b3c71d73 100755 --- a/neofetch +++ b/neofetch @@ -1366,7 +1366,7 @@ get_shell() { "sh" | "ash" | "dash") ;; "mksh" | "ksh") - shell+="$("$SHELL" -c "printf %s \$KSH_VERSION")" + shell+="$("$SHELL" -c "printf %s \"\$KSH_VERSION\"")" shell="${shell/ * KSH}" shell="${shell/version}" ;;