From 6826b263b285965129cfd1ca92a66436084db3f8 Mon Sep 17 00:00:00 2001 From: hedy Date: Sat, 18 Nov 2023 09:56:50 +0800 Subject: [PATCH] Shell(paths): Ensure local/bin has higher priority than local paths --- .addpath | 1 - bin/parse_addpath | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.addpath b/.addpath index fe2b85b..66dfa0f 100644 --- a/.addpath +++ b/.addpath @@ -1,4 +1,3 @@ -local/bin .local/bin .doomemacs/bin local/src/pyenv/bin diff --git a/bin/parse_addpath b/bin/parse_addpath index 6a66b01..cee8956 100755 --- a/bin/parse_addpath +++ b/bin/parse_addpath @@ -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"