From c81e4a1649effa0ae97352469e62ab62730fb0bc Mon Sep 17 00:00:00 2001 From: Lachlan Donald Date: Mon, 9 Mar 2026 12:03:22 +1100 Subject: [PATCH] fix(zsh): prioritise managed PATH entries Amp-Thread-ID: https://ampcode.com/threads/T-019ccf5c-54e4-70dd-a500-fb75d29a883c --- zsh/main.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/main.zsh b/zsh/main.zsh index dd0bb3f..2adcd3b 100644 --- a/zsh/main.zsh +++ b/zsh/main.zsh @@ -15,7 +15,7 @@ config_files=(${config_files:#$DOTFILES/zsh/main.zsh}) # remove duplicate entries from $PATH typeset -U PATH path -path=("$HOME/bin" "$DOTFILES/bin" "$HOME/.local/bin" $path "/opt/homebrew/sbin" "/opt/homebrew/bin" "$HOME/.cargo/bin") +path=("$HOME/bin" "$DOTFILES/bin" "$HOME/.local/bin" "/opt/homebrew/sbin" "/opt/homebrew/bin" "$HOME/.cargo/bin" $path) # load the path files for file in ${(M)config_files:#*/path.zsh} ; do