diff options
author | Freexian Packaging Team <team+freexian@tracker.debian.org> | 2023-03-01 12:24:53 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-03-01 12:24:53 +0100 |
commit | d866909b1eb66747816d5f334ec7fbc476e69963 (patch) | |
tree | b7ed1107aa02c1ccb22ba2b7ad3ecabd7d07ba6a | |
parent | 952f1f01144e1e46fc291de0e8e8b354635ab63c (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 255bae35..1561d2a2 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=() @@ -194,7 +194,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 @@ -202,4 +202,4 @@ _borg() return 0 } -complete -F _borg borg +complete -F _borg2 borg2 |