Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.39.0] Autocomplete throws error #1813

Closed
Firesphere opened this issue Sep 17, 2024 · 4 comments
Closed

[3.39.0] Autocomplete throws error #1813

Firesphere opened this issue Sep 17, 2024 · 4 comments
Assignees
Labels
area: completions Changes related to shell completions and scripts.

Comments

@Firesphere
Copy link

Firesphere commented Sep 17, 2024

The autocomplete, as per the documentation, add eval "$(task --completion zsh)" to .zsh, throws an error:

_arguments:comparguments:327: can only be called from completion function
  • Task version: 3.39.0
  • Operating system: MacOS Sonoma Latest using ZSH
  • Experiments enabled: n/a
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Sep 17, 2024
@Firesphere Firesphere changed the title [3. [3.39.0] Autocomplete throws error Sep 17, 2024
@orsinium
Copy link

Same problem

  • task --version: Task version: v3.39.0 (h1:Loe6ppP1x38Puv1M2wigp91bH/garCt0vLWkJsiTWNI=)
  • uname -a: Linux serenity 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • zsh --version: zsh 5.9 (x86_64-ubuntu-linux-gnu)

@orsinium
Copy link

The second installation option described in the docs works (with a few extra steps to be able to write it from non-root user):

sudo touch /usr/local/share/zsh/site-functions/_task
sudo chmod 777 /usr/local/share/zsh/site-functions/_task
task --completion zsh  > /usr/local/share/zsh/site-functions/_task

@vmaerten vmaerten added type: bug Something not working as intended. area: completions Changes related to shell completions and scripts. and removed state: needs triage Waiting to be triaged by a maintainer. labels Sep 18, 2024
@vmaerten vmaerten self-assigned this Sep 18, 2024
@vmaerten
Copy link
Member

It'll be fixed by : #1809

@vmaerten
Copy link
Member

We will release a patch for somes fixes soon (including this one)

@pd93 pd93 removed the type: bug Something not working as intended. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: completions Changes related to shell completions and scripts.
Projects
None yet
Development

No branches or pull requests

5 participants