Completion scripts for Fedora use incorrect binary name
The completion scripts given from go-task --completion $shell use the task binary (e.g. fish: set GO_TASK_PROGNAME task). In Fedora the installed binary is go-task. This causes the competition script to not work.
The work around I used is to copy the completion script, modify the script to use go-task, and place it into my shell's config.
- Task version: 3.39.2
- Operating system: Fedora 40
- Experiments enabled: None
Would it be reasonable to do this in the completion script (task/completion/fish/task.fish):
set -qU GO_TASK_PROGNAME; or set -Ux GO_TASK_PROGNAME task
and then you set an envar in your shell GO_TASK_PROGNAME=go-task
Perhaps, try it ... and if it works, or you have some other solution, then open a PR.
Fixed in https://github.com/go-task/task/pull/2495 Will be available in the next release