Skip to content

Conversation

@chriszarate
Copy link
Contributor

When yazi's hidden option is true, it passes --no-ignore to fd and rg. However, ignore files have no actual relation to hidden files. They often contain entries like node_modules that users want to ignore in all situations.

Example use case: In a code project, I turn on the hidden option to navigate to configuration files like .editorconfig and search their contents with S. I do not want the hidden option to expose thousands of search results in node_modules, .gocache, or dist.

When `yazi`'s `hidden` option is true, it passes `--no-ignore` to
`fd` and `rg`. However, ignore files have no actual relation to
hidden files. They often contain entries like `node_modules` or
`vendor` that users want to ignore in all situations.
@sxyazi sxyazi changed the title Remove ignore options from rg and fd fix: remove ignore options from rg and fd search May 16, 2024
@sxyazi sxyazi merged commit f2329a3 into sxyazi:main May 16, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants