colcon / colcon-argcomplete

Completion for colcon command lines using argcomplete
http://colcon.readthedocs.io
Apache License 2.0
2 stars 3 forks source link

ZSH argcomplete: call compinit only if needed #40

Open mjbogusz opened 1 year ago

mjbogusz commented 1 year ago

Ref https://github.com/ros2/ros2cli/issues/534#issuecomment-1173901509 As stated in the comment above, I'm not sure if this is the most correct solution... but it should help a bit.

mjbogusz commented 1 year ago

As https://github.com/ros2/ros2cli/pull/750 was merged, I'm marking this as ready for review - even if it doesn't handle some edge cases, it should be good enough for most use cases that are broken right now.