From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/procs/
Date: Fri, 16 Jun 2023 00:18:25 +0000 (UTC) [thread overview]
Message-ID: <1686874688.8da3175374fcae0eae525689ab64e4554ed44572.sam@gentoo> (raw)
commit: 8da3175374fcae0eae525689ab64e4554ed44572
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 00:18:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 00:18:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da31753
sys-process/procs: install completions
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{procs-0.14.0.ebuild => procs-0.14.0-r1.ebuild} | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/sys-process/procs/procs-0.14.0.ebuild b/sys-process/procs/procs-0.14.0-r1.ebuild
similarity index 91%
rename from sys-process/procs/procs-0.14.0.ebuild
rename to sys-process/procs/procs-0.14.0-r1.ebuild
index ca275a7bff1c..32619a312107 100644
--- a/sys-process/procs/procs-0.14.0.ebuild
+++ b/sys-process/procs/procs-0.14.0-r1.ebuild
@@ -236,7 +236,7 @@ CRATES="
xattr-0.2.3
"
-inherit cargo
+inherit bash-completion-r1 cargo
DESCRIPTION="A modern replacement for ps"
HOMEPAGE="https://github.com/dalance/procs"
@@ -252,3 +252,18 @@ SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/procs"
+
+src_install() {
+ cargo_src_install
+
+ target/$(usex debug debug release)/procs --gen-completion bash || die
+ newbashcomp procs.bash procs
+
+ target/$(usex debug debug release)/procs --gen-completion zsh || die
+ insinto /usr/share/zsh/site-functions
+ doins _procs
+
+ target/$(usex debug debug release)/procs --gen-completion fish || die
+ insinto /usr/share/fish/vendor_completions.d
+ doins procs.fish
+}
next reply other threads:[~2023-06-16 0:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 0:18 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-04 19:41 [gentoo-commits] repo/gentoo:master commit in: sys-process/procs/ Sam James
2024-10-04 1:57 Sam James
2024-10-04 1:57 Sam James
2024-06-17 9:39 James Le Cuirot
2024-03-08 23:44 Sam James
2023-12-28 3:43 Sam James
2023-11-25 4:49 Sam James
2023-11-25 4:49 Sam James
2023-10-21 17:46 Sam James
2023-10-20 3:49 Sam James
2023-10-06 16:04 Sam James
2023-06-19 1:13 Sam James
2023-06-16 0:04 Sam James
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=1686874688.8da3175374fcae0eae525689ab64e4554ed44572.sam@gentoo \
--to=sam@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