diff options
| author | adamdottv <[email protected]> | 2025-07-08 10:02:06 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-07-08 10:02:19 -0500 |
| commit | 562bdb95e2e2503a0b1ff73a3fa565d705a8e412 (patch) | |
| tree | 54dc5184df495a4669fbb4d34ec547338f67bdc9 | |
| parent | a57ce8365dceae79d386379447c683906695e36a (diff) | |
| download | opencode-562bdb95e2e2503a0b1ff73a3fa565d705a8e412.tar.gz opencode-562bdb95e2e2503a0b1ff73a3fa565d705a8e412.zip | |
fix: include symlinks in ripgrep searches
| -rw-r--r-- | packages/opencode/src/file/ripgrep.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/file/ripgrep.ts b/packages/opencode/src/file/ripgrep.ts index a784a251e..379dc4ad3 100644 --- a/packages/opencode/src/file/ripgrep.ts +++ b/packages/opencode/src/file/ripgrep.ts @@ -187,7 +187,7 @@ export namespace Ripgrep { export async function files(input: { cwd: string; query?: string; glob?: string; limit?: number }) { const commands = [ - `${await filepath()} --files --hidden --glob='!.git/*' ${input.glob ? `--glob='${input.glob}'` : ``}`, + `${await filepath()} --files --follow --hidden --glob='!.git/*' ${input.glob ? `--glob='${input.glob}'` : ``}`, ] if (input.query) commands.push(`${await Fzf.filepath()} --filter=${input.query}`) if (input.limit) commands.push(`head -n ${input.limit}`) |
