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 version=7.0.0
if [[ "${BASH_VERSINFO[0]}" ]]; then bash_version=${BASH_VERSINFO[0]:-5}
bash_version=${BASH_VERSINFO[0]} shopt -s eval_unsafe_arith &>/dev/null
else
bash_version=5
shopt -s eval_unsafe_arith
fi
sys_locale=${LANG:-C} sys_locale=${LANG:-C}
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config} XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config}
PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec