summaryrefslogtreecommitdiff
path: root/ar/.config/shell
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/shell')
-rw-r--r--ar/.config/shell/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile
index 9c90f80..69fab37 100644
--- a/ar/.config/shell/profile
+++ b/ar/.config/shell/profile
@@ -7,7 +7,7 @@
### --- ENV PATH --- ###
###################################################
# Add all directories in each subdirectory to $PATH
-export PATH="$PATH:$(find ~/.local/bin -path '*/.git*' -prune -o \( -type d -o -type l \) -print | paste -sd ':' -)"
+export PATH="$PATH:$(find ~/.local/bin -path '*/.git*' -prune -o \( -type f -o -type l \) -perm -u=x -exec dirname {} \; | sort -u | paste -sd ':' -)"
export PATH="$PATH:$(find ~/.local/share/.password-store -type d -name '.extensions' | paste -sd ':' -)"
unsetopt PROMPT_SP 2>/dev/null