浏览代码

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

Dylan Araps 6 年之前
父节点
当前提交
0dc0921635
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1460,7 +1460,7 @@ get_shell() {
             "bash") shell+="${BASH_VERSION/-*}" ;;
             "bash") shell+="${BASH_VERSION/-*}" ;;
             "sh" | "ash" | "dash") ;;
             "sh" | "ash" | "dash") ;;
 
 
-            "mksh" | "ksh")
+            *"ksh")
                 shell+="$("$SHELL" -c "printf %s \"\$KSH_VERSION\"")"
                 shell+="$("$SHELL" -c "printf %s \"\$KSH_VERSION\"")"
                 shell="${shell/ * KSH}"
                 shell="${shell/ * KSH}"
                 shell="${shell/version}"
                 shell="${shell/version}"