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

For to --iglob even if -g #1293

Closed
sumonto opened this issue Jun 5, 2019 · 4 comments · Fixed by #1294
Closed

For to --iglob even if -g #1293

sumonto opened this issue Jun 5, 2019 · 4 comments · Fixed by #1294
Labels
enhancement An enhancement to the functionality of the software. help wanted Others are encouraged to work on this issue.

Comments

@sumonto
Copy link

sumonto commented Jun 5, 2019

What version of ripgrep are you using?

ripgrep 11.0.1
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)

How did you install ripgrep?

brew install

What operating system are you using ripgrep on?

Mac OSx lastest

Describe your question, feature request, or bug.

How do I force --iglob for all my searches even if I specify -g ..
I would like to avoid having to write a custom function/wrapper

Thanks

@BurntSushi
Copy link
Owner

You can't. I suppose we could add a flag, --glob-case-insensitive, that is like --ignore-file-case-insensitive, and then you could put that in an alias or a config file.

@BurntSushi BurntSushi added the enhancement An enhancement to the functionality of the software. label Jun 5, 2019
@sumonto
Copy link
Author

sumonto commented Jun 6, 2019

can you please add --ignore-file-case-insensitive, so that I can put the same in the config file
appreciate your help

@BurntSushi
Copy link
Owner

--ignore-file-case-insensitive already exists. Otherwise, I marked this as an enhancement and left it open to add --glob-case-insensitive.

I've also added a help wanted label, since I don't plan on working on this any time soon myself.

@BurntSushi BurntSushi added the help wanted Others are encouraged to work on this issue. label Jun 6, 2019
okdana added a commit to okdana/ripgrep that referenced this issue Jun 6, 2019
This flag forces -g/--glob patterns to be treated case-insensitively, as with
--iglob patterns.

Fixes BurntSushi#1293
BurntSushi pushed a commit that referenced this issue Aug 1, 2019
This flag forces -g/--glob patterns to be treated case-insensitively, as with
--iglob patterns.

Fixes #1293
@sumonto
Copy link
Author

sumonto commented Aug 1, 2019

Thanks @BurntSushi @okdana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to the functionality of the software. help wanted Others are encouraged to work on this issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants