From 680a238aa37b3d6f6ba368bb32e3d44c61bf33f1 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 27 Jul 2023 21:34:07 +0200 Subject: app-portage/emlop: switch to shell-completion.eclass Signed-off-by: Florian Schmaus --- app-portage/emlop/emlop-0.6.1.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app-portage') diff --git a/app-portage/emlop/emlop-0.6.1.ebuild b/app-portage/emlop/emlop-0.6.1.ebuild index 0effbdae154c..9feb0c79cf59 100644 --- a/app-portage/emlop/emlop-0.6.1.ebuild +++ b/app-portage/emlop/emlop-0.6.1.ebuild @@ -75,7 +75,7 @@ CRATES=" winapi-x86_64-pc-windows-gnu-0.4.0 " -inherit cargo bash-completion-r1 +inherit cargo shell-completion DESCRIPTION="A fast, accurate, ergonomic emerge.log parser" HOMEPAGE="https://github.com/vincentdephily/emlop" @@ -104,10 +104,8 @@ src_install() { dobashcomp emlop # zsh ./target/$(usex debug debug release)/emlop complete zsh > _emlop || die - insinto /usr/share/zsh/site-functions - doins _emlop + dozshcomp _emlop # fish ./target/$(usex debug debug release)/emlop complete fish > emlop.fish || die - insinto /usr/share/fish/vendor_completions.d - doins emlop.fish + dofishcomp emlop.fish } -- cgit v1.2.3-65-gdbad