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

View file

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