Skip to content

Repo-specific configuration #3015

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

You must be logged in to vote

This was request here and possibly in other places. While the conversation there got somewhat side-tracked by discussion of dotconfig files littering $HOME, that's only one problem with the proposal. The bigger problem, and the principal reason why I will never add this functionality to ripgrep, is that I perceive it to be wildly confusing from a user experience perspective.

Just imagine that you have ripgrep configured to behave how you want. Then you go and clone a repository to search it. Now all of a sudden, ripgrep is behaving completely differently! Maybe it's using different colors. Or it's setting the case insensitive flag. Or one of a number of other unexpected or whacky things.

M…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
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