Merge branch 'master' of github.com:dylanaraps/neofetch

This commit is contained in:
Dylan Araps 2019-07-28 09:57:45 +03:00
commit 0dc0921635

View file

@ -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}"