Shell: Disable version detection for ash and dash
This commit is contained in:
parent
673e0420e8
commit
ce63709b06
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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"')"
|
||||
|
|
Loading…
Reference in a new issue