ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Soap-Shampoo's profile - activity

2022-09-14 05:18:48 -0500 received badge  Famous Question (source)
2022-03-27 02:50:41 -0500 received badge  Notable Question (source)
2022-02-12 00:17:55 -0500 received badge  Enthusiast
2022-01-15 00:20:24 -0500 received badge  Popular Question (source)
2022-01-11 19:43:40 -0500 received badge  Supporter (source)
2022-01-11 11:38:47 -0500 marked best answer No completion for 'ros2 run' in zsh

I've installed 'Ros2-Galactic' via apt and added thesource /opt/ros/galactic/setup.zshto my '.zshrc'. I found that there is no completion for 'ros2 run', 'ros2 pkg', and so on. (I mean no completion for the package_names , topic_names, etc) However the 'ros2' completion works just fine in bash. Later, I've also tried to install via binary package from https://github.com/ros2/ros2/releases. This time, the completion functioned in zsh after sourcing the 'setup.zsh' from the downloaded package. The 'setup.zsh' from this two installation methods are totally different which really confused me.

I'm now using the apt-installed ros2. Wanna know if there is any solution to bring completion for 'ros2' to zsh.

2022-01-11 11:38:47 -0500 received badge  Scholar (source)
2022-01-11 11:11:03 -0500 commented answer No completion for 'ros2 run' in zsh

Thanks!!! The autocompletion works after I adding the lines above right after source /opt/ros/galactic/setup.zsh to my .

2022-01-10 21:24:47 -0500 edited question No completion for 'ros2 run' in zsh

No completion for 'ros2 run' in zsh I've installed 'Ros2-Galactic' via apt and added thesource /opt/ros/galactic/setup.z

2022-01-10 11:33:16 -0500 asked a question No completion for 'ros2 run' in zsh

No completion for 'ros2 run' in zsh I've installed 'Ros2-Galactic' via Debian Packages and added thesource /opt/ros/gala