restic: add bash and zsh completions
This commit is contained in:
parent
49ab144ed1
commit
682c5c6036
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue