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

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.