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.
This commit is contained in:
cole-maxwell1
2026-08-13 21:12:40 -05:00
parent 8e91bb9945
commit 2c4e6dbf95
+1 -1
View File
@@ -25,7 +25,7 @@ if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then
fi fi
# Add script binaries to $PATH if they exist # 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 export PATH=$PATH:$HOME/.scripts
fi fi