unify file‐globbing under CODEX_SEARCH_CMD

Resolved 💬 1 comment Opened Apr 18, 2025 by evgenyop Closed Aug 7, 2025

What version of Codex is running?

v0.1.2504172351

Which model were you using?

o4-mini

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

configure $CODEX_SEARCH_CMD to use ripgrep, e.g.
export CODEX_SEARCH_CMD='rg --column --line-number --no-heading'
restart WSL and codex
search for a file name, e.g. MyClass.cs, it ignores CODEX_SEARCH_CMD and still uses find internally.

What is the expected behavior?

to use ripgrep internally, as it's much faster

What do you see instead?

`user
search for NmiDetails.razor.css

command

$ find . -type f -name NmiDetails.razor.css

command.stdout (code: 0, duration: 2s)`

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗