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:
parent
01405b9438
commit
dd133aa85b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export XDG_VIDEOS_DIR="$HOME/videos"
|
||||||
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
|
test "$XDG_PROJECTS_DIR" || export XDG_PROJECTS_DIR="$HOME/projects"
|
||||||
test "$XDG_BIN_HOME" || export XDG_BIN_HOME="$HOME/.local/bin"
|
test "$XDG_BIN_HOME" || export XDG_BIN_HOME="$HOME/.local/bin"
|
||||||
# anything on BIN_HOME should be executable form anywhere
|
# 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
|
## Applications that can be set through environment variables
|
||||||
export ANDROID_HOME="$XDG_DATA_HOME/android"
|
export ANDROID_HOME="$XDG_DATA_HOME/android"
|
||||||
|
|
Loading…
Reference in a new issue