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

Feature: Add support of "search_paths" to fd. #1702

Closed
1 task done
alexhuot1 opened this issue Jan 10, 2025 · 1 comment
Closed
1 task done

Feature: Add support of "search_paths" to fd. #1702

alexhuot1 opened this issue Jan 10, 2025 · 1 comment
Labels
feature request New feature

Comments

@alexhuot1
Copy link

Have you RTFM'd?

  • I have done proper research

Feature Request

As discussed here: #1674

live_grep (and other grep commands) now support "search_paths" to specify which folder will be searched. It would be great to have the same functionality for the "files" command (fd).

Very similar to telescope, where "search_dirs" works for greps and find_files.

fd itself supports multiple root directories.

From fd documentation:

Usage: fd [OPTIONS] [pattern] [path]...

Arguments:
  [pattern]  the search pattern (a regular expression, unless '--glob' is used; optional)
  [path]...  the root directories for the filesystem search (optional)
@alexhuot1 alexhuot1 added the feature request New feature label Jan 10, 2025
@ibhagwan
Copy link
Owner

@alexhuot1 FYI, fc2c15a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature
Projects
None yet
Development

No branches or pull requests

2 participants