6 comments (6 comments)0 reactions (0 reactions)0 assignees (0 assignees)Rust1,059 forks (1,059 forks)batch import
feature-requesthelp wantedupstream-feature
Repository metrics
- Stars
- 42,984 stars (42,984 stars)
- PR merge metrics
- Avg merge 15d 23h (Avg merge 15d 23h)16 merged PRs in 30d (16 merged PRs in 30d)
Description
i wonder if -x and -X could complete the readline like compgen -c on bash. And idk if there is other completion case
Contributor guide
- Research direction
- The issue requests that the x and X flags of fd provide command completion similar to bash's compgen c, and asks about other completion cases. Start by examining the existing completion scripts for fd in the repository (likely in contrib/completions or similar). Understand how x and X currently work (they execute commands on found files). Look at how other flags like exec or x are handled in completions. Then study the completion system for one shell (e.g., bash using the fd debug function). The goal is to generate dynamic completion lists, possibly by parsing shell commands. Check if there are any linked PRs or discussions that already propose approaches.
- Tech stack
- rustshell
- Domain
- clideveloper experience
- Issue type
- Feature
- Prerequisites
- basic shell completion conceptsfamiliarity with fd flagsknowledge of a shell's completion syntax