From 893327f91b66015784001cb46b20739ae48d057f Mon Sep 17 00:00:00 2001 From: Sage Date: Tue, 20 Jan 2026 15:13:12 +0000 Subject: [PATCH] Fix asterix wildcard --- modules/home/terminal/hr/hr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/terminal/hr/hr.sh b/modules/home/terminal/hr/hr.sh index 7edf3f5..f4f6f8b 100644 --- a/modules/home/terminal/hr/hr.sh +++ b/modules/home/terminal/hr/hr.sh @@ -75,7 +75,7 @@ EOF ) for file in "${IGNORES[@]}"; do - if ! grep -q "^$file$" "$EXCLUDE_FILE"; then + if ! grep -Fxq "$file" "$EXCLUDE_FILE" 2>/dev/null; then echo "$file" >>"$EXCLUDE_FILE" echo "Added $file to local git exclude ($EXCLUDE_FILE)" fi