Commit d1cd0fd7 authored by Dylan Araps's avatar Dylan Araps

Shell: Cut 'version' from ksh output

parent c6c4a47c
......@@ -510,6 +510,7 @@ get_shell() {
"mksh" | "ksh")
shell+="$("$SHELL" -c 'printf "%s" "$KSH_VERSION"')"
shell="${shell/ * KSH}"
shell="${shell/Version}"
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment