File: completion.rst

package info (click to toggle)
borgbackup2 2.0.0b20-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 16,848 kB
  • sloc: python: 33,830; pascal: 3,599; sh: 215; makefile: 160; tcl: 94; ansic: 21
file content (17 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. include:: completion.rst.inc

Examples
~~~~~~~~

To activate completion in your current shell session, evaluate the output
of this command. To enable it persistently, add the corresponding line to
your shell's startup file.

::

    # Bash (in ~/.bashrc)
    eval "$(borg completion bash)"

    # Zsh (in ~/.zshrc)
    eval "$(borg completion zsh)"