Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the path of the argcomplete hooks #103

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``

Expand Down