diff --git a/neofetch b/neofetch index a5526f8e..e81fced3 100755 --- a/neofetch +++ b/neofetch @@ -490,9 +490,7 @@ get_shell() { shell+=" " case "${SHELL##*/}" in "bash") - shell+="$(bash --version)" - shell="${shell/ *, version}" - shell="${shell/$'\n'*}" + shell+=" ${BASH_VERSION/-*}" ;; "zsh")