diff options
author | Freexian Packaging Team <team+freexian@tracker.debian.org> | 2023-01-18 13:12:47 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-18 13:12:47 +0100 |
commit | 147c7475bc928f97eb18a91e5c837028ef113150 (patch) | |
tree | 624682b021c500dbf63e9b678f3ed5e03786bf41 | |
parent | 7fec2be9ea7a196b5367ff20e548eadf0e33f40f (diff) |
explicit_version
Gbp-Pq: Name explicit_version.patch
-rw-r--r-- | scripts/shell_completions/bash/borg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/shell_completions/bash/borg b/scripts/shell_completions/bash/borg index 350266a8..f5037fb7 100644 --- a/scripts/shell_completions/bash/borg +++ b/scripts/shell_completions/bash/borg @@ -5,7 +5,7 @@ # Install: # Copy this file to /usr/share/bash-completion/completions/ or /etc/bash_completion.d/ -_borg() +_borg2() { compopt -o default COMPREPLY=() @@ -171,7 +171,7 @@ _borg() list_archives=1 fi if (( $list_archives )) ; then - local archives=$(borg list --short "${repository_name}" 2>/dev/null) + local archives=$(borg2 list --short "${repository_name}" 2>/dev/null) COMPREPLY=( $(compgen -W "${archives}" -- "${typed_word}" ) ) return 0 fi @@ -179,4 +179,4 @@ _borg() return 0 } -complete -F _borg borg +complete -F _borg2 borg2 |