A missing trailing \ after the Thumbs.db:encryptable pattern terminated the aggressive_patterns array early
The AI-tool patterns (.gemini*, .claude*, .antigravity*, .remember*) were then executed as a bogus command instead of being appended to the array
Result: scrub -a never actually purged those patterns, and everyscrub invocation printed a spurious Unknown command: '^\.gemini.*' error
Found incidentally while working on the colored --help output task (see the separate feat/colored-help-text PR) — split out here per our new workflow rule of keeping unrelated fixes on their own branch/PR.
Test plan
scrub --help no longer throws an error
scrub -d -a (dry run + aggressive) lists .claude*/.gemini*/etc. among the aggressive targets found
## Summary
- A missing trailing `\` after the `Thumbs.db:encryptable` pattern terminated the `aggressive_patterns` array early
- The AI-tool patterns (`.gemini*`, `.claude*`, `.antigravity*`, `.remember*`) were then executed as a bogus command instead of being appended to the array
- Result: `scrub -a` never actually purged those patterns, and *every* `scrub` invocation printed a spurious `Unknown command: '^\.gemini.*'` error
Found incidentally while working on the colored `--help` output task (see the separate `feat/colored-help-text` PR) — split out here per our new workflow rule of keeping unrelated fixes on their own branch/PR.
## Test plan
- [x] `scrub --help` no longer throws an error
- [x] `scrub -d -a` (dry run + aggressive) lists `.claude*`/`.gemini*`/etc. among the aggressive targets found
A missing trailing backslash after the Thumbs.db:encryptable pattern
terminated the `set -l aggressive_patterns` array early. The AI-tool
patterns (.gemini*, .claude*, .antigravity*, .remember*) were then
executed as a bogus command instead of being appended to the array,
so scrub -a never actually purged them, and every scrub invocation
printed a spurious "Unknown command" error.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
\after theThumbs.db:encryptablepattern terminated theaggressive_patternsarray early.gemini*,.claude*,.antigravity*,.remember*) were then executed as a bogus command instead of being appended to the arrayscrub -anever actually purged those patterns, and everyscrubinvocation printed a spuriousUnknown command: '^\.gemini.*'errorFound incidentally while working on the colored
--helpoutput task (see the separatefeat/colored-help-textPR) — split out here per our new workflow rule of keeping unrelated fixes on their own branch/PR.Test plan
scrub --helpno longer throws an errorscrub -d -a(dry run + aggressive) lists.claude*/.gemini*/etc. among the aggressive targets found