mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-03 20:40:16 -05:00
Added `shtab` dependency for shell completion functionality: - bash completion (works). - zsh completion (known-broken due to iterative/shtab#183).
17 lines
353 B
ReStructuredText
17 lines
353 B
ReStructuredText
.. 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)"
|
|
|