Fish autocomplete doesn't work with `inv` command
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start with invoke/completion/fish.completion at the linked revision, then trace the built-in template logic and completion installation path. Confirm how the {binary} placeholder is expanded and how invoke.fish is installed. Done means fish recognizes both inv and invoke and autoloading works for inv.fish.
Written by the indexing model from the issue text.
Description
Two things need to be done to fix this.
In order for fish to recognize inv as a supported command, pass ---comand inv to complete in addition to --comand invoke.
Additionally, for completion autoloading to work, the inv.fish file needs to be system linked to invoke.fish.
I would contribute a fix, but it looks like you use {binary} instead of hard-coding invoke. The built-in template logic has no way to expand ["inv", "invoke"] to "--command invoke --comand inv". The second issue with a fix is that I don't know to install inv.fish alongside invoke.fish.
Are you okay with hardcoding --command inv in the completion file, and how would I modify the logic for installing completions?
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 412
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pyinvoke/invoke
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·