Merge pull request #1057 from nero/mksh-nospace-fix
Fix borked version display for mksh
This commit is contained in:
commit
9fe7ec4ccf
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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}"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue