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

Short Alias for --no-ignore #1703

Closed
ghost opened this issue Oct 15, 2020 · 2 comments · Fixed by #1706
Closed

Short Alias for --no-ignore #1703

ghost opened this issue Oct 15, 2020 · 2 comments · Fixed by #1706
Labels
doc An issue with or an improvement to documentation.

Comments

@ghost
Copy link

ghost commented Oct 15, 2020

--no-ignore is, in my experience, one of the most common flags one would want to pass to ripgrep, but unfortunately it doesn't have a single character alias for its option. Obviously you can just add it by creating an alias under a different name, but it's annoying to do that on every system. It would be great if ripgrep supported such an option out of the box.

@okdana
Copy link
Contributor

okdana commented Oct 15, 2020

-u is basically the short option for --no-ignore. It's documented separately because it behaves differently when used more than once, but -u by itself is the same as --no-ignore

@BurntSushi BurntSushi added the doc An issue with or an improvement to documentation. label Oct 15, 2020
@BurntSushi
Copy link
Owner

Aye, yeah, the short flag for --no-ignore is -u. And in particular, -u can be used repeatedly to progressively disabled smart filtering. -u disables ignore file filtering. -uu disables hidden file filtering. And -uuu disables binary file filtering.

The docs for --no-ignore should definitely mention the -u flag here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc An issue with or an improvement to documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants