summaryrefslogtreecommitdiff
path: root/mac/.config/shell
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-28 09:02:28 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-28 09:02:28 +0900
commit39cd0d3d0c06dc0b44a6972cc8618002e724713b (patch)
tree32615157e2950234758397a0a9ab0ba2a18befed /mac/.config/shell
parentc8892cc179733a0d44711cced9b51ce806bae086 (diff)
modified shell/profile
Diffstat (limited to 'mac/.config/shell')
-rw-r--r--mac/.config/shell/profile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mac/.config/shell/profile b/mac/.config/shell/profile
index 963e64d..41f2497 100644
--- a/mac/.config/shell/profile
+++ b/mac/.config/shell/profile
@@ -2,11 +2,13 @@
### --- ENV PATH --- ###
###################################################
# Add all directories in each subdirectory to $PATH
-export PATH="$PATH:/opt/homebrew/bin"
-export PATH="$PATH:$(find -L ~/.local/share/asdf/installs -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
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 /opt/homebrew/opt -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
+export PATH="$PATH:/opt/homebrew/bin"
+export PATH="$PATH:$(find -L /opt/homebrew/Caskroom \( -name bin -o -name MacOS \) -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
+export PATH="$PATH:$(find -L /opt/homebrew/Cellar -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
+export PATH="$PATH:$(find -L /opt/homebrew/opt -name bin -type d -print 2>/dev/null | sort -u | paste -s -d ':' -)"
+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 ':' -)"
unsetopt PROMPT_SP 2>/dev/null