2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

doc: Add note about bash completion path

This commit is contained in:
Jan Niggemann 2021-02-23 09:32:31 +01:00 committed by Leo R. Lundgren
parent 74c0607c92
commit 9a1f685179

View File

@ -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.