Skip to content

Struggling to use --glob to filter in .ripgreprc #2910

Closed Answered by BurntSushi
IamSmeagol asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried running with --debug?

Also, the paths you show aren't consistent. Sometimes they are absolute and sometimes they are relative. Relative paths will be interpreted relative to where you're running ripgrep, and you don't say that either.

Also, it would probably work better if you used a .rgignore file instead.

Finally, your version of ripgrep is quite old. I only support the latest version of ripgrep.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by IamSmeagol
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants