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

glob patterns from projectile-ignored-files are not escaped #31

Open
spookylukey opened this issue Mar 11, 2019 · 1 comment
Open

glob patterns from projectile-ignored-files are not escaped #31

spookylukey opened this issue Mar 11, 2019 · 1 comment
Labels

Comments

@spookylukey
Copy link

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!

@nlamirault nlamirault added the bug label Mar 16, 2019
@swillner
Copy link

swillner commented Jun 6, 2019

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

nlamirault added a commit that referenced this issue Oct 13, 2022
projectile-ripgrep: fix unescaped glob (#31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants