Shell(paths): Ensure local/bin has higher priority than local paths
This commit is contained in:
parent
8d670556c0
commit
6826b263b2
1
.addpath
1
.addpath
|
@ -1,4 +1,3 @@
|
||||||
local/bin
|
|
||||||
.local/bin
|
.local/bin
|
||||||
.doomemacs/bin
|
.doomemacs/bin
|
||||||
local/src/pyenv/bin
|
local/src/pyenv/bin
|
||||||
|
|
|
@ -20,5 +20,5 @@ paths="$(getpaths $file)"
|
||||||
if [ -f "${file}_local" ]; then
|
if [ -f "${file}_local" ]; then
|
||||||
paths="$(getpaths ${file}_local) $paths"
|
paths="$(getpaths ${file}_local) $paths"
|
||||||
fi
|
fi
|
||||||
paths="$HOME/bin $paths"
|
paths="$HOME/bin $HOME/local/bin $paths"
|
||||||
echo "$paths"
|
echo "$paths"
|
||||||
|
|
Loading…
Reference in New Issue