fish completions are malformed
Task Info (Flyspray) | |
---|---|
Opened By | Narthana Epa (trigtriarius) |
Task ID | 77558 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2023-02-18 01:31:51 UTC |
Status | Assigned |
Assignee | Christian Rebischke (Shibumi) |
Details
Description:
The completions file for fish, /usr/share/fish/vendor_completions.d/ko.fish
, is not parsable by fish. It contains the output of the help for the ko completion
command rather than the output of the ko completion fish
command.
This is because in https://github.com/archlinux/svntogit-community/blob/packages/ko/trunk/PKGBUILD#L41, the completion file is written to the contents of ./ko completion completion fish
instead of ./ko completion fish
.
It may be an upstream issue that ko completion completion fish
outputs to stdout and exits with code 0 instead of stderr and a non-zero exit code, but solving that would not fix the PKGBUILD.
Additional info:
- package version: ko 0.12.0-3
Steps to reproduce:
- Type ko into a fish prompt
- Press tab to invoke autocomplete