본문 바로가기
Robot/ROS

[ROS2] zsh 자동완성 이슈

by interactics 2022. 6. 28.

문제

zsh로 ROS2 설치할 시, 자동완성이 되지 않는 문제가 있다. 

 

해결방법

 

.zshrc에 아래 두줄을 추가하고 터미널을 다시 실행하면,

tab을 눌렀을 때 자동완성이 안되는 문제를 해결할 수 있다. 

# argcomplete for ros2 & colcon
eval "$(register-python-argcomplete3 ros2)"
eval "$(register-python-argcomplete3 colcon)"

댓글