commit:     1f9cca735a2cb87dcaebec260f2abaa332af2e54
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Apr 13 05:35:33 2023 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Thu Apr 13 05:35:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f9cca73

app-shells/fishtape: Make use of 'shell-completion' eclass

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 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 d1291056d..38b7c1594 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

Reply via email to