From 092e80e6ab8af3f6cc54e7996c6ab085f8a480f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Mon, 31 Aug 2020 02:52:20 +0200 Subject: [PATCH] restic: add bash and zsh completions --- srcpkgs/restic/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/restic/template b/srcpkgs/restic/template index 7b8b497209f..640bd400c67 100644 --- a/srcpkgs/restic/template +++ b/srcpkgs/restic/template @@ -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 }