mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-shells/zoxide: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
@@ -98,7 +98,7 @@ CRATES="
|
|||||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit cargo bash-completion-r1
|
inherit cargo shell-completion
|
||||||
|
|
||||||
DESCRIPTION="A smarter cd command for your terminal"
|
DESCRIPTION="A smarter cd command for your terminal"
|
||||||
# Double check the homepage as the cargo_metadata crate
|
# Double check the homepage as the cargo_metadata crate
|
||||||
@@ -132,11 +132,9 @@ src_install() {
|
|||||||
|
|
||||||
newbashcomp contrib/completions/"${PN}".bash "${PN}"
|
newbashcomp contrib/completions/"${PN}".bash "${PN}"
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
dozshcomp contrib/completions/_"${PN}"
|
||||||
doins contrib/completions/_"${PN}"
|
|
||||||
|
|
||||||
insinto /usr/share/fish/vendor_completions.d
|
dofishcomp contrib/completions/"${PN}".fish
|
||||||
doins contrib/completions/"${PN}".fish
|
|
||||||
|
|
||||||
insinto /usr/share/"${PN}"
|
insinto /usr/share/"${PN}"
|
||||||
doins init.fish
|
doins init.fish
|
||||||
|
|||||||
Reference in New Issue
Block a user