From 8c0fe8d0d0dd4bbd16c1095e25b2e3ffa1fdb0d3 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 11 Dec 2025 11:46:09 +0900 Subject: updates --- ar/.config/shell/profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar') diff --git a/ar/.config/shell/profile b/ar/.config/shell/profile index c9da216..4d3312b 100644 --- a/ar/.config/shell/profile +++ b/ar/.config/shell/profile @@ -7,8 +7,8 @@ ### --- ENV PATH --- ### ################################################### # Add all directories in each subdirectory to $PATH -export PATH="$(find ~/.local/bin -path '*/.git*' -prune -o \( -type f -o -type l \) -perm -u=x -exec dirname {} \; | sort -u | paste -sd ':' -):$PATH" -export PATH="$(find ~/.local/share/.password-store -type d -name '.extensions' | paste -sd ':' -):$PATH" +[ -d ~/.local/bin ] && export PATH="$(find ~/.local/bin -path '*/.git*' -prune -o \( -type f -o -type l \) -perm -u=x -exec dirname {} \; | sort -u | paste -sd ':' -):$PATH" +[ -d ~/.local/share/.password-store ] && export PATH="$(find ~/.local/share/.password-store -type d -name '.extensions' | paste -sd ':' -):$PATH" command -v asdf >/dev/null 2>&1 && export PATH="$(find -L ~/.local/share/asdf/installs -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -):$PATH" command -v npm >/dev/null 2>&1 && export PATH="$(find -L ~/.local/share/npm -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -):$PATH" -- cgit v1.2.3