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

pixi autocompletions: compdef undefined on zsh #338

Closed
2 tasks done
wolfv opened this issue Sep 14, 2023 · 1 comment
Closed
2 tasks done

pixi autocompletions: compdef undefined on zsh #338

wolfv opened this issue Sep 14, 2023 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@wolfv
Copy link
Member

wolfv commented Sep 14, 2023

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

/

Issue description

I sat next to someone trying out pixi and after running the install, starting zsh said compdef undefined.

I think this might be an issue in our autocompletion code - removing autocompletions solved it.

Expected behavior

/

@wolfv wolfv added the 🐞 bug Something isn't working label Sep 14, 2023
@ruben-arts
Copy link
Contributor

Not sure if we should fix this our that the user should update its installation:
This would fix it for them. https://unix.stackexchange.com/a/477909

We could also change the behavior for zsh so that it puts the completions in a file and add that file to the $fpath But that is a little more steps to update that file when the pixi version changes.
clap-rs/clap#2479 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants