Shell: Cut 'version' from ksh output
This commit is contained in:
parent
c6c4a47cf5
commit
d1cd0fd741
1 changed files with 1 additions and 0 deletions
1
neofetch
1
neofetch
|
@ -510,6 +510,7 @@ get_shell() {
|
||||||
"mksh" | "ksh")
|
"mksh" | "ksh")
|
||||||
shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')"
|
shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')"
|
||||||
shell="${shell/ * KSH}"
|
shell="${shell/ * KSH}"
|
||||||
|
shell="${shell/Version}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue