yadm: install fish completion

This commit is contained in:
Đoàn Trần Công Danh 2020-11-15 10:05:29 +07:00
parent 93601d2619
commit 8b7c541d7a

View file

@ -1,8 +1,7 @@
# Template file for 'yadm' # Template file for 'yadm'
pkgname=yadm pkgname=yadm
version=2.5.0 version=2.5.0
revision=1 revision=2
archs=noarch
depends="bash git gnupg" depends="bash git gnupg"
short_desc="Yet Another Dotfiles Manager" short_desc="Yet Another Dotfiles Manager"
maintainer="John <me@johnnynator.dev>" maintainer="John <me@johnnynator.dev>"
@ -14,6 +13,7 @@ checksum=d022d118a1a477e09afa00c80e10bd94b150d99709e57f01ba48ca2eaaeeb2de
do_install() { do_install() {
vbin ${pkgname} vbin ${pkgname}
vman ${pkgname}.1 vman ${pkgname}.1
vinstall completion/yadm.bash_completion 644 usr/share/bash-completion/completions yadm vcompletion completion/yadm.bash_completion bash
vinstall completion/yadm.zsh_completion 644 usr/share/zsh/site-functions _yadm vcompletion completion/yadm.fish_completion fish
vcompletion completion/yadm.zsh_completion zsh
} }