Closed rhaschke closed 11 months ago
Hi @rhaschke, colcon_cd
is a shell function, instead of a script.
You can follow the guide to setup based on your current environment https://colcon.readthedocs.io/en/released/user/installation.html#quick-directory-changes
If you installed using Debian binary, it will be like the following
source /usr/share/colcon_cd/function/colcon_cd.sh
The usage is like this
colcon_cd <package-name>
I have sourced colcon_cd.sh, but nevertheless, I do get the error mentioned above. I can directly call the shell function:
colcon_cd my_package
but using cd
as a verb doesn't work.
cd
verb is not the intended usage. https://github.com/colcon/colcon-cd/pull/1#issuecomment-538463246 explains why it might not be feasible at this point.
The
cd
verb is unknown to colcon: