Skip to content

How to add specific hidden directories to search paths? #1588

Answered by BurntSushi
slafs asked this question in General
Discussion options

You must be logged in to vote

Yup! All you need to do is whitelist the file in an .ignore file:

$ echo test > foo

$ echo test > .bar

$ rg test
foo
1:test

$ echo '!.bar' > .ignore

$ rg test
foo
1:test

.bar
1:test

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@slafs
Comment options

@BurntSushi
Comment options

@slafs
Comment options

Answer selected by slafs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants