RoboStack / RoboStack/ros-humble

feat: Autocompletion on pixi

Open
#271 26 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
169
Forks
80
Avg merge
5h 55m
Merged PRs (30d)
1

Description

Pixi has implemented support for shell autocompletion scripts a few weeks ago in (https://github.com/prefix-dev/pixi/pull/3219 and https://github.com/prefix-dev/pixi/issues/2366)

To take advantage of this feature, a package needs to install autocompletion files in one of these directories depending on the user's shell:

  • share/bash-completion/completions
  • share/zsh/site-functions
  • share/fish/vendor_completions.d

I tested this with both Bash and Zsh on macOS, using the attached scripts (unzip in the root of your pixi workspace) and it's working great. What's missing is just RoboStack installing these files automatically as part of the distribution.

Is this the correct repo to discuss how to possibly get this merged? We encountered this as part of a university course on ROS we are teaching, so we'd really benefit from a fix. I can send a pull request after we define how you'd like to approach this.

Thank you!

ros-autocompletion.zip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's package recipes and the three autocompletion directories listed in the issue. Determine how distribution files are installed for Bash, Zsh, and Fish, then verify that the completion files are present and usable after installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.