Reorder to put /usr/bin at the start of PATH
/usr/bin is quickly becoming the canonical location for Linux binaries. Move this to the start of PATH, so that 'which', 'command -v', et al. list this path as the location, instead of e.g. /usr/sbin or /sbin.
This commit is contained in:
parent
90b83306ad
commit
e260aac3c4
1 changed files with 4 additions and 4 deletions
|
@ -134,13 +134,13 @@ for dir in "$HOME/.local/bin" \
|
|||
"$XDG_DATA_HOME/gem/ruby/bin" \
|
||||
"$XDG_DATA_HOME/flatpak/exports/bin" \
|
||||
"$ACP/bin" \
|
||||
/opt/local/bin \
|
||||
/opt/local/sbin \
|
||||
/opt/local/bin \
|
||||
/var/lib/flatpak/exports/bin \
|
||||
/usr/local/bin \
|
||||
/usr/local/sbin \
|
||||
/usr/bin \
|
||||
/usr/sbin
|
||||
/usr/local/bin \
|
||||
/usr/sbin \
|
||||
/usr/bin
|
||||
do
|
||||
_acp_add_path "$dir"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue