commit: 19718074b5e457e354993bfb817aa61dae51f1fe
Author: Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Apr 12 03:57:24 2023 +0000
Commit: Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Wed Apr 12 04:01:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19718074
app-misc/watchexec: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon <AT> pm.me>
app-misc/watchexec/watchexec-1.22.2.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/app-misc/watchexec/watchexec-1.22.2.ebuild
b/app-misc/watchexec/watchexec-1.22.2.ebuild
index b413ff0bc..8bb69034d 100644
--- a/app-misc/watchexec/watchexec-1.22.2.ebuild
+++ b/app-misc/watchexec/watchexec-1.22.2.ebuild
@@ -413,7 +413,7 @@ CRATES="
zvariant_utils-1.0.0
"
-inherit bash-completion-r1 cargo
+inherit cargo shell-completion
DESCRIPTION="Executes commands in response to file modifications"
HOMEPAGE="https://github.com/watchexec/watchexec"
@@ -447,11 +447,9 @@ src_install() {
einstalldocs
doman doc/watchexec.1
- newbashcomp completions/bash watchexec
+ newbashcomp completions/bash "${PN}"
- insinto /usr/share/zsh/site-functions
- newins completions/zsh _watchexec
+ newzshcomp completions/zsh "_${PN}"
- insinto /usr/share/fish/vendor_completions.d
- newins completions/fish watchexec.fish
+ newfishcomp completions/fish "${PN}.fish"
}