Shell: Simplify bash version
This commit is contained in:
parent
6a3e5e3f22
commit
17406f24f5
1 changed files with 1 additions and 3 deletions
4
neofetch
4
neofetch
|
@ -490,9 +490,7 @@ get_shell() {
|
||||||
shell+=" "
|
shell+=" "
|
||||||
case "${SHELL##*/}" in
|
case "${SHELL##*/}" in
|
||||||
"bash")
|
"bash")
|
||||||
shell+="$(bash --version)"
|
shell+=" ${BASH_VERSION/-*}"
|
||||||
shell="${shell/ *, version}"
|
|
||||||
shell="${shell/$'\n'*}"
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"zsh")
|
"zsh")
|
||||||
|
|
Loading…
Reference in a new issue