From 2c4e6dbf954cbc3b6b2f671a94fe1f69c3f34372 Mon Sep 17 00:00:00 2001 From: cole-maxwell1 Date: Thu, 13 Aug 2026 21:12:40 -0500 Subject: [PATCH] fix(shell): add scripts directory to PATH Check for the scripts directory within PATH instead of comparing PATH against itself, which prevented the directory from being appended. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6f07f91..a8974db 100644 --- a/.zshrc +++ b/.zshrc @@ -25,7 +25,7 @@ if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then fi # Add script binaries to $PATH if they exist -if [[ -d $HOME/.scripts && ":$PATH:" != *":$PATH:"* ]]; then +if [[ -d $HOME/.scripts && ":$PATH:" != *":$HOME/.scripts:"* ]]; then export PATH=$PATH:$HOME/.scripts fi