commit:     27495f929f6bc5e9953b69ec5fd1ee3d0155b5ba
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 14:29:58 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 14:36:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27495f92

app-shells/atuin: switch from bash-completion-r1 to shell-completion eclass

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-shells/atuin/atuin-15.0.0.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/app-shells/atuin/atuin-15.0.0.ebuild 
b/app-shells/atuin/atuin-15.0.0.ebuild
index 3a2adcb1791f..036e59045492 100644
--- a/app-shells/atuin/atuin-15.0.0.ebuild
+++ b/app-shells/atuin/atuin-15.0.0.ebuild
@@ -310,7 +310,7 @@ CRATES="
        zeroize_derive-1.4.2
 "
 
-inherit bash-completion-r1 cargo
+inherit cargo shell-completion
 
 DESCRIPTION="Shell history manager supporting encrypted synchronisation"
 HOMEPAGE="https://github.com/ellie/atuin";
@@ -358,10 +358,6 @@ src_install() {
        dodoc -r "${DOCS[@]}"
 
        newbashcomp "completions/${PN}.bash" "${PN}"
-
-       insinto /usr/share/zsh/site-functions
-       doins "completions/_${PN}"
-
-       insinto /usr/share/fish/vendor_completions.d
-       doins "completions/${PN}.fish"
+       dozshcomp "completions/_${PN}"
+       dofishcomp "completions/${PN}.fish"
 }

Reply via email to