completion.rst 353 B

1234567891011121314151617
  1. .. include:: completion.rst.inc
  2. Examples
  3. ~~~~~~~~
  4. To activate completion in your current shell session, evaluate the output
  5. of this command. To enable it persistently, add the corresponding line to
  6. your shell's startup file.
  7. ::
  8. # Bash (in ~/.bashrc)
  9. eval "$(borg completion bash)"
  10. # Zsh (in ~/.zshrc)
  11. eval "$(borg completion zsh)"