Merge pull request #3298 from jniggemann/patch-1

doc: Add note about bash completion path
This commit is contained in:
rawtaz 2021-04-09 00:17:17 +02:00 committed by GitHub
commit ccfd5f1d4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.