From 9a1f68517938ab8a311dedc7398b8222180c207e Mon Sep 17 00:00:00 2001 From: Jan Niggemann Date: Tue, 23 Feb 2021 09:32:31 +0100 Subject: [PATCH] doc: Add note about bash completion path --- doc/020_installation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/020_installation.rst b/doc/020_installation.rst index b9f5f2bdc..e5e8273f5 100644 --- a/doc/020_installation.rst +++ b/doc/020_installation.rst @@ -316,3 +316,8 @@ Example for using sudo to write a bash completion script directly to the system- $ sudo ./restic generate --bash-completion /etc/bash_completion.d/restic writing bash completion file to /etc/bash_completion.d/restic + +.. note:: The path for the ``--bash-completion`` option may vary depending on + the operating system used, e.g. ``/usr/share/bash-completion/completions/restic`` + in Debian and derivatives. Please look up the correct path in the appropriate + documentation.