Skip to content

Commit 562bdb9

Browse files
committed
fix: include symlinks in ripgrep searches
1 parent a57ce83 commit 562bdb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/opencode/src/file/ripgrep.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export namespace Ripgrep {
187187

188188
export async function files(input: { cwd: string; query?: string; glob?: string; limit?: number }) {
189189
const commands = [
190-
`${await filepath()} --files --hidden --glob='!.git/*' ${input.glob ? `--glob='${input.glob}'` : ``}`,
190+
`${await filepath()} --files --follow --hidden --glob='!.git/*' ${input.glob ? `--glob='${input.glob}'` : ``}`,
191191
]
192192
if (input.query) commands.push(`${await Fzf.filepath()} --filter=${input.query}`)
193193
if (input.limit) commands.push(`head -n ${input.limit}`)

0 commit comments

Comments
 (0)