From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/
Date: Wed, 9 Sep 2020 06:50:25 +0000 (UTC) [thread overview]
Message-ID: <1599633787.6ffd3532933434373dbf15979146b839c6210b3e.gyakovlev@gentoo> (raw)
commit: 6ffd3532933434373dbf15979146b839c6210b3e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 9 06:42:56 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Sep 9 06:43:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffd3532
dev-util/rustup: add shell completions
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/rustup/rustup-1.22.1.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-util/rustup/rustup-1.22.1.ebuild b/dev-util/rustup/rustup-1.22.1.ebuild
index f3990688984..6b91f916003 100644
--- a/dev-util/rustup/rustup-1.22.1.ebuild
+++ b/dev-util/rustup/rustup-1.22.1.ebuild
@@ -239,7 +239,7 @@ zeroize-1.1.0
zeroize_derive-1.0.0
"
-inherit cargo
+inherit bash-completion-r1 cargo
HOME_CRATE_COMMIT="a243ee2fbee6022c57d56f5aa79aefe194eabe53"
@@ -284,6 +284,15 @@ src_install() {
einstalldocs
exeinto /usr/share/rustup
newexe "${FILESDIR}/symlink_rustup.sh" symlink_rustup
+
+ ln -s "${ED}/usr/bin/rustup-init" rustup || die
+ ./rustup completions bash rustup > "${T}/rustup" || die
+ ./rustup completions zsh rustup > "${T}/_rustup" || die
+
+ dobashcomp "${T}/rustup"
+
+ insinto /usr/share/zsh/site-functions
+ doins "${T}/_rustup"
}
src_test() {
next reply other threads:[~2020-09-09 6:50 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 6:50 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-23 2:47 [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/ Georgy Yakovlev
2020-09-23 2:47 Georgy Yakovlev
2020-09-23 6:33 Georgy Yakovlev
2020-11-28 7:54 Georgy Yakovlev
2021-04-18 1:24 Georgy Yakovlev
2021-04-18 1:24 Georgy Yakovlev
2021-04-18 1:24 Georgy Yakovlev
2021-04-18 1:24 Georgy Yakovlev
2021-04-18 19:41 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-05-17 17:17 Georgy Yakovlev
2021-06-14 21:58 Georgy Yakovlev
2021-06-14 21:58 Georgy Yakovlev
2021-06-14 21:59 Georgy Yakovlev
2022-09-20 1:32 Georgy Yakovlev
2022-09-20 1:32 Georgy Yakovlev
2022-09-24 4:13 Georgy Yakovlev
2023-02-08 20:15 Georgy Yakovlev
2023-02-08 20:29 Georgy Yakovlev
2023-02-13 21:01 Georgy Yakovlev
2024-03-15 12:10 Arthur Zamarin
2024-03-15 12:10 Arthur Zamarin
2024-03-15 12:10 Arthur Zamarin
2024-03-15 12:24 Arthur Zamarin
2024-09-13 16:51 Arthur Zamarin
2024-10-18 10:50 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2025-03-22 12:41 Arthur Zamarin
2025-06-06 7:04 Arthur Zamarin
2025-06-06 7:42 Arthur Zamarin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1599633787.6ffd3532933434373dbf15979146b839c6210b3e.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox