mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
neofetch: clean up
This commit is contained in:
9
neofetch
9
neofetch
@@ -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
|
||||||
|
Reference in New Issue
Block a user