-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Autocompletion in zsh failes #2944
Comments
Same issue?: ros2/ros2cli#534 However, for me Foxy/Galactic on 20.04 is spotty at best as well |
I had the same issue that the current ticket describes (env: Ubuntu 22.04+Humble) and the solution came from the issue referenced by @mjbogusz. Thanks! Solution/workaround by @chenjunn-s comment: ros2cli/issues/534#issuecomment-957516107
Note: If the registration fails, check whether your python environment has the |
@Fildo7525 @endrelaszlo @mjbogusz either of you guys, would you mind if trying ros2/rosidl#702 to see if the problem can be solved? |
endrelaszlo your comment (https://github.com/endrelaszlo) worked. The only thing I would add is to put this lines before sourcing ros. |
It also worked for me (Ubuntu 22.04 / Rolling), but only if I put it after sourcing ROS. So if somebody else runs into this issue, maybe try both options 🤷 |
This works for jazzy / ubuntu 24.04 with zsh argcomplete for ros2 & colcon in zsheval "$(register-python-argcomplete ros2)" |
When I used ros2 Foxy on Ubuntu 20.04 in zsh everything was ok. Now I changed to Ubuntu 22.04 and to Humble and the autocompletion is not working for ros2
The text was updated successfully, but these errors were encountered: