neofetch: clean up

This commit is contained in:
Crestwave 2020-04-16 14:47:13 +08:00
parent 8e56495da8
commit 2943116dd5

View file

@ -30,13 +30,8 @@
version=7.0.0
if [[ "${BASH_VERSINFO[0]}" ]]; then
bash_version=${BASH_VERSINFO[0]}
else
bash_version=5
shopt -s eval_unsafe_arith
fi
bash_version=${BASH_VERSINFO[0]:-5}
shopt -s eval_unsafe_arith &>/dev/null
sys_locale=${LANG:-C}
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config}
PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec