ITADN

BUG Wrong completion generation for installed binary on linux

#5019Opendovydenkovas 创建于 2026-04-15
kind/bug
D
dovydenkovascommented
**Describe the bug** `scorecard completion` generates completions for `./scorecard`, not for the `scorecard` command. **Reproduction steps** Steps to reproduce the behavior: 1. `apt-get install bash-completion` (or the equivalent for your distro) 2. Start new shell: `bash` 3. Install the standalone binary from zip file 4. Initialize completion: `source <(scorecard completion bash)` 5. `./scorecard ver<TAB>` works correctly in the directory with the scorecard binary. 6. `scorecard ver<TAB>` doesn't work. I’d like to work on this issue.
1 条评论