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