commit:     98ed7c8056f453c915461c45ad4d54ddf9c712ac
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Aug 30 06:47:09 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 30 07:52:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98ed7c80

sys-apps/exa: use shell-completion.eclass

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/exa/exa-0.10.1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-apps/exa/exa-0.10.1.ebuild b/sys-apps/exa/exa-0.10.1.ebuild
index 27fe0bd020a3..dc36faac84b0 100644
--- a/sys-apps/exa/exa-0.10.1.ebuild
+++ b/sys-apps/exa/exa-0.10.1.ebuild
@@ -50,7 +50,7 @@ CRATES="
        [email protected]
 "
 
-inherit bash-completion-r1 cargo
+inherit shell-completion cargo
 
 DESCRIPTION="A modern replacement for 'ls' written in Rust"
 HOMEPAGE="https://the.exa.website/";
@@ -98,12 +98,8 @@ src_install() {
        cargo_src_install $(usex git "" --no-default-features)
 
        newbashcomp completions/completions.bash exa
-
-       insinto /usr/share/zsh/site-functions
-       newins completions/completions.zsh _exa
-
-       insinto /usr/share/fish/vendor_completions.d
-       newins completions/completions.fish exa.fish
+       newzshcomp completions/completions.zsh _exa
+       newfishcomp completions/completions.fish exa.fish
 
        if use man; then
                doman contrib/man/*

Reply via email to