public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jonas Frei" <freijon@pm.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/just/
Date: Wed, 12 Apr 2023 04:04:42 +0000 (UTC)	[thread overview]
Message-ID: <1681272079.145828cc04f5c50b1c6bd87db08aa16f6f43b946.freijon@gentoo> (raw)

commit:     145828cc04f5c50b1c6bd87db08aa16f6f43b946
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Wed Apr 12 03:59:19 2023 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Wed Apr 12 04:01:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=145828cc

sys-devel/just: Make use of 'shell-completion' eclass

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 sys-devel/just/just-1.13.0.ebuild | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/sys-devel/just/just-1.13.0.ebuild b/sys-devel/just/just-1.13.0.ebuild
index ebcc0d139..3aaea82ed 100644
--- a/sys-devel/just/just-1.13.0.ebuild
+++ b/sys-devel/just/just-1.13.0.ebuild
@@ -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"
 }


             reply	other threads:[~2023-04-12  4:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12  4:04 Jonas Frei [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-13  8:46 [gentoo-commits] repo/proj/guru:dev commit in: sys-devel/just/ Joe Kappus
2024-01-09  9:33 Joe Kappus
2024-01-05  8:06 Joe Kappus
2024-01-05  8:06 Joe Kappus
2023-12-30  9:37 Joe Kappus
2023-12-28  6:59 Joe Kappus
2023-12-28  6:59 Joe Kappus
2023-12-24 18:01 Joe Kappus
2023-12-24 16:52 Joe Kappus
2023-12-20  8:11 Joe Kappus
2023-12-20  8:11 Joe Kappus
2023-11-08 22:59 Joe Kappus
2023-10-13  4:36 Joe Kappus
2023-06-03  3:01 Joe Kappus
2023-02-04 11:30 Joe Kappus
2023-01-26  8:32 Joe Kappus
2023-01-25  6:29 Joe Kappus
2023-01-24  6:38 Joe Kappus
2023-01-15  8:14 Joe Kappus
2023-01-13 23:46 Joe Kappus

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=1681272079.145828cc04f5c50b1c6bd87db08aa16f6f43b946.freijon@gentoo \
    --to=freijon@pm.me \
    --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