From ce63709b063c45d6842f4cd99bd6c330fd6e3887 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sun, 1 Jan 2017 15:07:10 +0700 Subject: [PATCH] Shell: Disable version detection for ash and dash --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 5bc1aa05..e9e955e2 100755 --- a/neofetch +++ b/neofetch @@ -500,7 +500,7 @@ get_shell() { if [[ "$shell_version" == "on" ]]; then case "${SHELL##*/}" in "bash") shell+="${BASH_VERSION/-*}" ;; - "sh") ;; + "sh" | "ash" | "dash") ;; "mksh" | "ksh") shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')"