commit: 94eae34a9208baf9297f68c33a6c8d44593b3f8d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 31 16:15:09 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 31 16:40:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94eae34a
sys-apps/lsd: Use shell-completion eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-apps/lsd/lsd-1.1.3-r1.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/sys-apps/lsd/lsd-1.1.3-r1.ebuild b/sys-apps/lsd/lsd-1.1.3-r1.ebuild
index 907e56997951..5e4ec420b526 100644
--- a/sys-apps/lsd/lsd-1.1.3-r1.ebuild
+++ b/sys-apps/lsd/lsd-1.1.3-r1.ebuild
@@ -190,7 +190,7 @@ CRATES="
[email protected]
"
-inherit bash-completion-r1 cargo
+inherit cargo shell-completion
DESCRIPTION="An ls command with a lot of pretty colors and some other stuff."
HOMEPAGE="https://github.com/lsd-rs/lsd/"
@@ -233,10 +233,6 @@ src_install() {
einstalldocs
newbashcomp "${T}"/shell_completions/lsd.bash lsd
-
- insinto /usr/share/fish/vendor_completions.d
- doins "${T}"/shell_completions/lsd.fish
-
- insinto /usr/share/zsh/site-functions
- doins "${T}"/shell_completions/_lsd
+ dofishcomp "${T}"/shell_completions/lsd.fish
+ dozshcomp "${T}"/shell_completions/_lsd
}