Closed rr326 closed 5 years ago
Are you missing RIPGREP_CONFIG_PATH
env setting from within emacs?
Yes - that's it! Thank you.
(I had assumed it rg always looked up your hierarchy, but apparently that was some functionality I added myself with direnv. Too clever for my own good!)
I have a .ripgreprc in my project root. ripgrep / rg works one way from the command line and a different way when it runs within emacs. I've even added
--debug
to the command and this is what I see. Note that from the command line the first step is processing .ripgreprc. That does not happen in emacs.What am I doing wrong?
Command line:
From within emacs