nlamirault/ripgrep.el

glob patterns from projectile-ignored-files are not escaped

spookylukey opened this issue · 1 comments

It looks like I have some globs in my projectile-globally-ignored-files. This results in:

rg  --fixed-strings --glob !TAGS --glob !00*.py --glob !.idea/ --glob !.eunit/ --glob !.git/ --glob !.hg/ --glob !.fslckout/ --glob !.bzr/ --glob !_darcs/ --glob !venv/ --glob !build/ --no-heading --line-number --with-filename --color=always --ignore-case -- black .
zsh:1: no matches found: !00*.py

Ripgrep exited abnormally with code 1 at Mon Mar 11 13:01:53

There should be some quoting of these to avoid the problem. Thanks!

as a workaround you can set the ripgrep-executable option to "noglob rg"