diff --git a/neofetch b/neofetch index d8be94f5..b33ca405 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}" ;;