~hedy/dotfiles

6826b263b285965129cfd1ca92a66436084db3f8 — hedy 6 months ago 8d67055
Shell(paths): Ensure local/bin has higher priority than local paths
2 files changed, 1 insertions(+), 2 deletions(-)

M .addpath
M bin/parse_addpath
M .addpath => .addpath +0 -1
@@ 1,4 1,3 @@
local/bin
.local/bin
.doomemacs/bin
local/src/pyenv/bin

M bin/parse_addpath => bin/parse_addpath +1 -1
@@ 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"