From 19718074b5e457e354993bfb817aa61dae51f1fe Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Wed, 12 Apr 2023 05:57:24 +0200 Subject: [PATCH] app-misc/watchexec: Make use of 'shell-completion' eclass Signed-off-by: Jonas Frei --- 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 b413ff0bc0..8bb69034d1 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" }