From 1f9cca735a2cb87dcaebec260f2abaa332af2e54 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Thu, 13 Apr 2023 07:35:33 +0200 Subject: [PATCH] app-shells/fishtape: Make use of 'shell-completion' eclass Signed-off-by: Jonas Frei --- app-shells/fishtape/fishtape-3.0.1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-shells/fishtape/fishtape-3.0.1.ebuild b/app-shells/fishtape/fishtape-3.0.1.ebuild index d1291056d5..38b7c1594d 100644 --- a/app-shells/fishtape/fishtape-3.0.1.ebuild +++ b/app-shells/fishtape/fishtape-3.0.1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit shell-completion + DESCRIPTION="100% pure-Fish test runner" HOMEPAGE="https://github.com/jorgebucaran/fishtape" SRC_URI="https://github.com/jorgebucaran/fishtape/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" @@ -22,8 +24,7 @@ DOCS=( README.md ) RESTRICT="!test? ( test )" src_install() { - insinto "/usr/share/fish/vendor_completions.d" - doins completions/* + dofishcomp completions/* insinto "/usr/share/fish/vendor_functions.d" doins functions/* einstalldocs