6 条评论 (6 条评论)0 个反应 (0 个反应)0 位负责人 (0 位负责人)Rust1,059 个派生 (1,059 个派生)batch import
feature-requesthelp wantedupstream-feature
仓库指标
- 星标
- 42,984 个星标 (42,984 个星标)
- PR 合并指标
- 平均合并 15天 23小时 (平均合并 15天 23小时)30 天内合并 16 个 PR (30 天内合并 16 个 PR)
描述
i wonder if -x and -X could complete the readline like compgen -c on bash. And idk if there is other completion case
贡献者指南
- 研究方向
- 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.
- 技术栈
- rustshell
- 领域
- clideveloper experience
- 议题类型
- 功能
- 前置要求
- basic shell completion conceptsfamiliarity with fd flagsknowledge of a shell's completion syntax