Bläddra i källkod

Merge pull request #1291 from MitchWeaver/support_other_kshs

support other versions of ksh
black 6 år sedan
förälder
incheckning
03de8e721d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      neofetch

+ 1 - 1
neofetch

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