summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-08-30 00:47:09 -0600
committerSam James <sam@gentoo.org>2023-08-30 08:52:12 +0100
commit98ed7c8056f453c915461c45ad4d54ddf9c712ac (patch)
treeb790042a7aad1e44d57dd206b75ea6e1e4afe0bf /sys-apps/exa/exa-0.10.1.ebuild
parentsys-apps/exa: update EAPI 7 -> 8 (diff)
downloadgentoo-98ed7c8056f453c915461c45ad4d54ddf9c712ac.tar.gz
gentoo-98ed7c8056f453c915461c45ad4d54ddf9c712ac.tar.bz2
gentoo-98ed7c8056f453c915461c45ad4d54ddf9c712ac.zip
sys-apps/exa: use shell-completion.eclass
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/exa/exa-0.10.1.ebuild')
-rw-r--r--sys-apps/exa/exa-0.10.1.ebuild10
1 files 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="
zoneinfo_compiled@0.5.1
"
-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/*