cheat: install fish completion to vendor_completions.d
This commit is contained in:
parent
7290c0ec5c
commit
1f5da340e7
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cheat'
|
# Template file for 'cheat'
|
||||||
pkgname=cheat
|
pkgname=cheat
|
||||||
version=3.6.0
|
version=3.6.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/cheat/cheat/cmd/cheat"
|
go_import_path="github.com/cheat/cheat/cmd/cheat"
|
||||||
short_desc="Create and view interactive cheatsheets on the command-line"
|
short_desc="Create and view interactive cheatsheets on the command-line"
|
||||||
|
@ -12,9 +12,7 @@ distfiles="${homepage}/archive/${version}.tar.gz"
|
||||||
checksum=8441c94d12b6a6f088818c8cabd91f75bc583bee3c66dac7a53851ae1032862f
|
checksum=8441c94d12b6a6f088818c8cabd91f75bc583bee3c66dac7a53851ae1032862f
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall scripts/cheat.bash 644 \
|
vinstall scripts/cheat.bash 644 usr/share/bash-completion/completions cheat
|
||||||
usr/share/bash-completion/completions cheat
|
vinstall scripts/cheat.fish 644 usr/share/fish/vendor_completions.d
|
||||||
vinstall scripts/cheat.fish 644 \
|
|
||||||
usr/share/fish/completions
|
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue