Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add a search for just a set of directories as a type? #2810

Open
aronchick opened this issue May 16, 2024 · 1 comment
Open

Comments

@aronchick
Copy link

Describe your feature request

Please describe the behavior you want and the motivation. Please also provide
examples of how ripgrep would be used if your feature request were added.

If you're not sure what to write here, then try imagining what the ideal
documentation of your new feature would look like in ripgrep's man page. Then
try to write it.

If you're requesting the addition or change of default file types, please open
a PR. We can discuss it there if necessary.


In my .ripgreprc:

--type-add
bac:{bacalhau,bacalhau-examples}/*

but when i type:

❯ rg -t bac lower
unrecognized file type: bac

Did i screw it up?

@BurntSushi
Copy link
Owner

You haven't provided enough detail to know whether you screwed it up. For example, you don't say anywhere whether you've set the RIPGREP_CONFIG_PATH environment variable, as documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants