mirror of
https://github.com/MorizzG/gentoo-mg.git
synced 2026-02-04 05:24:46 +00:00
watchexec: added shell completions
This commit is contained in:
parent
1e07071410
commit
a3b937e239
2 changed files with 14 additions and 6 deletions
|
|
@ -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}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue