Struggling to use --glob to filter in .ripgreprc #2910
-
I just started using ripgrep a few days ago and I can't seem to configure it to ignore one specific directory and it's contents. I want to have my Running
I also tried I am using Ubuntu 22.04.5 LTS with WSL |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have you tried running with 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 Finally, your version of ripgrep is quite old. I only support the latest version of ripgrep. |
Beta Was this translation helpful? Give feedback.
-
I got it to work with a |
Beta Was this translation helpful? Give feedback.
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.