mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: include symlinks in ripgrep searches
This commit is contained in:
parent
a57ce8365d
commit
562bdb95e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue