From b3adad76a0962e309b0f000cec373b2939b53b8e Mon Sep 17 00:00:00 2001 From: Giorgio Pintaudi Date: Wed, 20 Nov 2024 10:08:24 +0900 Subject: [PATCH] Updated the path of the `argcomplete` hooks This is the environment where I confirmed the paths: - Official ROS2 Jazzy image - python3-colcon-argcomplete 0.3.3+ds-2 --- user/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/installation.rst b/user/installation.rst index 1adeff9..e1e3f5b 100644 --- a/user/installation.rst +++ b/user/installation.rst @@ -137,12 +137,12 @@ Bash / zsh On Linux / macOS the above instructions install the package ``colcon-argcomplete`` which offers command completion for bash and bash-like shells. To enable this feature you need to source the shell-specific script provided by that package. -These scripts are named ``colcon-argcomplete.bash`` / ``colcon-argcomplete.zsh``. +These scripts are named ``colcon_cd-argcomplete.bash`` / ``colcon_cd-argcomplete.zsh``. For convenience you might want to source the one matching your shell in the user configuration, e.g. ``~/.bashrc``: Depending on which instructions you followed to install the packages the location will vary: -* Debian package: ``/usr/share/colcon_argcomplete/hook`` +* Debian package: ``/usr/share/colcon_cd/function`` * PIP - user specific: ``$HOME/.local/share/colcon_argcomplete/hook`` * PIP - global: ``/usr/local/share/colcon_argcomplete/hook``