From 9ba1bbaafe3a9b3dcedb38a052f5f04cb3ad2f95 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Wed, 29 Aug 2018 10:58:57 +0700 Subject: [PATCH] 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. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 449c84a3..3ac67137 100755 --- a/neofetch +++ b/neofetch @@ -33,7 +33,7 @@ version="5.0.1" bash_version="${BASH_VERSION/.*}" sys_locale="${LANG:-C}" 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' shopt -s nocasematch