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, 2 insertions, 0 deletions
diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile
index c62e454..24b467f 100644
--- a/ar/.config/shell/profile
+++ b/ar/.config/shell/profile
@@ -9,6 +9,8 @@
# Add all directories in each subdirectory to $PATH
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 ':' -)"
+command -v asdf >/dev/null 2>&1 && export PATH="$PATH:$(find -L ~/.local/share/asdf/installs -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
+command -v npm >/dev/null 2>&1 && export PATH="$PATH:$(find -L ~/.local/share/npm -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
unsetopt PROMPT_SP 2>/dev/null