Fix ros2cli + rosidl_cli auto-completion - #206
Conversation
|
The backport from ros-humble doesn't actually work for me 😞. The However, I don't understand, why sourcing Is it possible that |
|
Manually sourcing In any case, the following change needs to be applied to that file: - source $CONDA_PREFIX/setup.sh
+ source $CONDA_PREFIX/setup.bash |
|
Is this issue related: prefix-dev/pixi#2330? |
|
Hi @wolfv @ruben-arts @baszalmstra - you probably understand this better than me, could you please take a look? |
|
Quick ping @wolfv @ruben-arts @baszalmstra @traversaro |
|
A workaround for this in the interim seems to be the following: then in Would love this to work out of the box on Robostack installations, however. |
Easier than manually registering all relevant programs, is to source: as suggested in #206 (comment) |
I think the problem is pixi is not actually executing the scripts in the shell, it executes the scripts, capture how they modified the environment, and then set the modification in the shell. So the autocomplete do not work, see prefix-dev/pixi#2366 . To be honest, I am not sure if this we can fix on the robostack side, or we need to fix something on pixi. fyi @ruben-arts @wolfv |
|
Pixi doesn't leave bash functions in the environment after an activation (with |
|
@ruben-arts: Thanks for the explanation. The |
Let me fix that in Pixi! |
|
That was actually fixed in Pixi already, could you try with the latest version? |
|
I've added similiar changes to the other distros: |
|
Thanks for your input, I've moved the changes to another branch (#287) as I wasn't allowed to commit to your branch. Closing this PR. |
|
@ruben-arts: thanks for addressing this issue. |
Port of RoboStack/ros-humble#276
Fixes #202