Closed mjbogusz closed 1 year ago
I manually patched this file and didn't solve the problem in my case. I just threw this into my .zshrc in the meantime (and it's working)
function ros2_setup () {
source /opt/ros/humble/setup.zsh
complete -o nospace -o default -F _python_argcomplete "ros2"
}
This is only one of several places where compinit
is called - see the list in referenced discussion. In particular I think sourcing ROS by default pulls in ros2cli, rosidl and ament_index, but depending on colcon hooks of your installed packages this may vary.
Ref #534