diff --git a/tools/bits-info.sh b/tools/bits-info.sh index a4e2d155..db3bff76 100755 --- a/tools/bits-info.sh +++ b/tools/bits-info.sh @@ -653,6 +653,11 @@ get_shell_info() esac _shell_version="${_shell_version# }" + case "${_shell_name}" in + 'osh') _shell_version="$(printf '%s\n' "${_shell_version}" | cut -f '1')" ;; + *) ;; + esac + printf '%s %s\n' "${_shell_name:-unknown}" "${_shell_version:-unknown}" }