summaryrefslogtreecommitdiff
path: root/dev-lang/rust-common/rust-common-9999.ebuild
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2025-02-20 23:14:08 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2025-02-21 13:13:16 +0200
commitd6f28f72aff12793e73156e45b1874db0b20313e (patch)
tree0f77fb0d1592801f3d88350b1e2357bfe08d80cd /dev-lang/rust-common/rust-common-9999.ebuild
parent4a6b30bab7f7c3682acd4a50460d2ba8dffe78ea (diff)
downloadgentoo-d6f28f72aff12793e73156e45b1874db0b20313e.tar.gz
gentoo-d6f28f72aff12793e73156e45b1874db0b20313e.tar.bz2
gentoo-d6f28f72aff12793e73156e45b1874db0b20313e.zip
dev-lang/rust-common: add 1.85.0, add zsh completion for cargo
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang/rust-common/rust-common-9999.ebuild')
-rw-r--r--dev-lang/rust-common/rust-common-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-lang/rust-common/rust-common-9999.ebuild b/dev-lang/rust-common/rust-common-9999.ebuild
index acfb56635ef9..223c50f26f33 100644
--- a/dev-lang/rust-common/rust-common-9999.ebuild
+++ b/dev-lang/rust-common/rust-common-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
-inherit bash-completion-r1 verify-sig
+inherit shell-completion verify-sig
DESCRIPTION="Common files shared between multiple slots of Rust"
HOMEPAGE="https://www.rust-lang.org/"
@@ -54,7 +54,7 @@ src_unpack() {
fi
# Avoid unpacking the whole tarball which would need check-reqs
- tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz "rustc-${MY_PV}-src/src/tools/cargo/src/etc/cargo.bashcomp.sh" || die
+ tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz "rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
fi
}
@@ -68,4 +68,5 @@ src_compile() {
src_install() {
newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
+ dozshcomp src/tools/cargo/src/etc/_cargo
}