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 tab completion should include runnable tasks under pixi run <tab> #383

Closed
jleibs opened this issue Oct 9, 2023 · 1 comment · Fixed by #390
Closed

Pixi tab completion should include runnable tasks under pixi run <tab> #383

jleibs opened this issue Oct 9, 2023 · 1 comment · Fixed by #390
Labels
✨ enhancement Feature request

Comments

@jleibs
Copy link

jleibs commented Oct 9, 2023

Problem description

Good tab completion is an important part of both productivity and discoverabillity in task-runners. The fact that we can't tab complete on runnable tasks makes this a harder sell on migrating over from just.

Unfortunately this doesn't come for free out of clap (yet... clap-rs/clap#1232).

I took a look at how just handles this and it looks like a mixture of clap completions with some hand-crafted patches.

See:

This same approach seems plausible (though somewhat annoying) to map to pixi.

@jleibs jleibs added the ✨ enhancement Feature request label Oct 9, 2023
@pavelzw
Copy link
Contributor

pavelzw commented Oct 9, 2023

Related to #372

baszalmstra pushed a commit that referenced this issue Oct 19, 2023
Adds auto completion for `pixi run <TAB TAB>` in `bash` and `zsh` .

closes #383 but not yet #372 as it doesn't activate the environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants