4 ms·
When Claude Code uses `grep` it's actually using `rg` underneath
by dmix 7mo ago
When Claude Code uses `grep` it's actually using `rg` underneath
- stared 7mo agoOh, interesting! I had a user prompt that suggest using rg not grep, but was annoyed that it uses rg.
- tmp10423288442 7mo agoCodex does as well, although I think it actually shows it running `rg`.
- arthurjean 7mo agoIt even ships a bundled rg binary via @vscode/ripgrep — you can switch to your system rg with USE_BUILTIN_RIPGREP=0 for better perf. One gotcha worth knowing: in non-git repos, .gitignore rules are silently ignored because rg doesn't pass --no-require-git by default.