Shell(paths): Ensure local/bin has higher priority than local paths

This commit is contained in:
hedy 2023-11-18 09:56:50 +08:00
parent 8d670556c0
commit 6826b263b2
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
local/bin
.local/bin
.doomemacs/bin
local/src/pyenv/bin

View File

@ -20,5 +20,5 @@ paths="$(getpaths $file)"
if [ -f "${file}_local" ]; then
paths="$(getpaths ${file}_local) $paths"
fi
paths="$HOME/bin $paths"
paths="$HOME/bin $HOME/local/bin $paths"
echo "$paths"