Commit 9ba1bbaa authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

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.
parent e7a3f5cb
...@@ -33,7 +33,7 @@ version="5.0.1" ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment