From a3b937e239be4d63a638b62c00564db8e83c6dcd Mon Sep 17 00:00:00 2001 From: Moritz Gmeiner Date: Thu, 22 Jan 2026 01:28:56 +0100 Subject: [PATCH] watchexec: added shell completions --- dev-util/watchexec/watchexec-2.3.2.ebuild | 10 +++++++--- dev-util/watchexec/watchexec-2.3.3.ebuild | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/dev-util/watchexec/watchexec-2.3.2.ebuild b/dev-util/watchexec/watchexec-2.3.2.ebuild index c645fbc..74af99f 100644 --- a/dev-util/watchexec/watchexec-2.3.2.ebuild +++ b/dev-util/watchexec/watchexec-2.3.2.ebuild @@ -497,7 +497,7 @@ CRATES=" zvariant_utils@3.2.0 " -inherit cargo +inherit cargo shell-completion DESCRIPTION="Executes commands in response to file modifications" HOMEPAGE="https://watchexec.github.io" @@ -517,9 +517,13 @@ SLOT="0" KEYWORDS="~amd64" src_compile() { - cargo_src_compile -p watchexec-cli + cargo_src_compile -p watchexec-cli } src_install() { - cargo_src_install --path crates/cli + cargo_src_install --path crates/cli + + newbashcomp completions/bash ${PN} + newzshcomp completions/zsh _${PN} + newfishcomp completions/fish ${PN} } diff --git a/dev-util/watchexec/watchexec-2.3.3.ebuild b/dev-util/watchexec/watchexec-2.3.3.ebuild index df63ec9..84203e0 100644 --- a/dev-util/watchexec/watchexec-2.3.3.ebuild +++ b/dev-util/watchexec/watchexec-2.3.3.ebuild @@ -439,7 +439,7 @@ CRATES=" zvariant_utils@3.3.0 " -inherit cargo +inherit cargo shell-completion DESCRIPTION="Executes commands in response to file modifications" HOMEPAGE="https://watchexec.github.io" @@ -459,9 +459,13 @@ SLOT="0" KEYWORDS="~amd64" src_compile() { - cargo_src_compile -p watchexec-cli + cargo_src_compile -p watchexec-cli } src_install() { - cargo_src_install --path crates/cli + cargo_src_install --path crates/cli + + newbashcomp completions/bash ${PN} + newzshcomp completions/zsh _${PN} + newfishcomp completions/fish ${PN} }