sh: Change PATH local binary order

Prepend local binary directory to path instead of appending.
In effect makes user-local binaries overwrite system-wide
binaries.
This commit is contained in:
Marty Oehme 2023-08-31 12:25:01 +02:00
parent 01405b9438
commit dd133aa85b
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -35,7 +35,7 @@ export XDG_VIDEOS_DIR="$HOME/videos"
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
test "$XDG_BIN_HOME" || export XDG_BIN_HOME="$HOME/.local/bin"
# anything on BIN_HOME should be executable form anywhere
export PATH="$PATH:$XDG_BIN_HOME"
export PATH="$XDG_BIN_HOME:$PATH"
## Applications that can be set through environment variables
export ANDROID_HOME="$XDG_DATA_HOME/android"