mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
sys-devel/just: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -116,7 +116,7 @@ CRATES="
|
||||
${P}
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo toolchain-funcs
|
||||
inherit cargo shell-completion toolchain-funcs
|
||||
|
||||
DESCRIPTION="Just a command runner (with syntax inspired by 'make')"
|
||||
HOMEPAGE="
|
||||
@@ -157,10 +157,8 @@ src_install() {
|
||||
newbashcomp "completions/${PN}.bash" "${PN}"
|
||||
|
||||
# zsh-completion
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "completions/${PN}.zsh" "_${PN}"
|
||||
newzshcomp "completions/${PN}.zsh" "_${PN}"
|
||||
|
||||
# fish-completion
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins "completions/${PN}.fish"
|
||||
dofishcomp "completions/${PN}.fish"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user