restic: add bash and zsh completions

This commit is contained in:
Daniel Eyßer 2020-08-31 02:52:20 +02:00 committed by Piraty
parent 49ab144ed1
commit 682c5c6036
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'restic'
pkgname=restic
version=0.9.6
revision=1
revision=2
build_style=go
go_import_path=github.com/restic/restic
go_package="${go_import_path}/cmd/restic"
@ -21,4 +21,7 @@ post_install() {
for f in doc/man/*; do
vman $f
done
vcompletion doc/bash-completion.sh bash
vcompletion doc/zsh-completion.zsh zsh
}