Misc: Apply existing PATH first before applying fallback values.
In case user has a custom-installed binary, prioritise it first before using system-supplied binaries.
This commit is contained in:
parent
e7a3f5cba2
commit
9ba1bbaafe
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -33,7 +33,7 @@ version="5.0.1"
|
||||||
bash_version="${BASH_VERSION/.*}"
|
bash_version="${BASH_VERSION/.*}"
|
||||||
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="/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:${PATH}"
|
PATH="${PATH}:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec"
|
||||||
reset='\e[0m'
|
reset='\e[0m'
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue