rg doesn't search in .sh and .cmd files unless I use "--hiden"? #3113
-
Hi, I have 2 files, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is unclear to me whether you're aware of the extent of ripgrep's automatic filtering. In particular, you only mention hidden files as something that could be filtered out, but ripgrep will filter out other things as well. From the second sentence of the README:
The user guide also has a section on automatic filtering.
Help me help you. Don't tell, show. Here's how to do it.
If some files are correctly being filtered out but you want to include them without passing a switch every time, then you're of course able to whitelist files. |
Beta Was this translation helpful? Give feedback.
It is unclear to me whether you're aware of the extent of ripgrep's automatic filtering. In particular, you only mention hidden files as something that could be filtered out, but ripgrep will filter out other things as well. From the second sentence of the README:
The user guide also has a section on automatic filtering.
Help me help you. Don't tell, show. Here's how to do it.