public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bat/
Date: Wed, 27 Sep 2023 03:45:13 +0000 (UTC)	[thread overview]
Message-ID: <1695786281.91499964a5762bae4e03146aec998b89e1d59c63.sam@gentoo> (raw)

commit:     91499964a5762bae4e03146aec998b89e1d59c63
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Wed Sep 27 03:28:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 27 03:44:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91499964

sys-apps/bat: use shell-completion.eclass

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33083
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/bat/bat-0.23.0.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-apps/bat/bat-0.23.0.ebuild b/sys-apps/bat/bat-0.23.0.ebuild
index c1f9cd57a92c..74a9d70d51bf 100644
--- a/sys-apps/bat/bat-0.23.0.ebuild
+++ b/sys-apps/bat/bat-0.23.0.ebuild
@@ -169,7 +169,7 @@ CRATES="
 	yaml-rust@0.4.5
 "
 
-inherit bash-completion-r1 cargo
+inherit cargo shell-completion
 
 DESCRIPTION="cat(1) clone with syntax highlighting and Git integration"
 HOMEPAGE="https://github.com/sharkdp/bat"
@@ -217,10 +217,6 @@ src_install() {
 	doman assets/manual/bat.1
 
 	newbashcomp assets/completions/${PN}.bash ${PN}
-
-	insinto /usr/share/zsh/site-functions
-	newins assets/completions/${PN}.zsh _${PN}
-
-	insinto /usr/share/fish/vendor_completions.d
-	doins assets/completions/${PN}.fish
+	newzshcomp assets/completions/${PN}.zsh _${PN}
+	dofishcomp assets/completions/${PN}.fish
 }


             reply	other threads:[~2023-09-27  3:45 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27  3:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-23 11:11 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bat/ Sam James
2024-06-17  9:39 James Le Cuirot
2024-03-21  7:24 Ionen Wolkens
2024-03-04  6:00 Sam James
2024-02-16  0:19 Sam James
2024-02-16  0:19 Sam James
2024-02-14 15:17 Joonas Niilola
2024-01-18  8:06 Florian Schmaus
2024-01-12 14:22 Sam James
2024-01-12 14:22 Sam James
2023-09-27 10:30 Joonas Niilola
2023-09-27  4:01 Sam James
2023-09-27  3:45 Sam James
2023-09-27  3:45 Sam James
2023-06-19 13:41 Joonas Niilola
2023-06-19 13:41 Joonas Niilola
2023-06-19 13:41 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-03-01 13:46 Joonas Niilola
2023-02-12  6:51 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-05-26 12:58 Joonas Niilola
2022-04-24 10:05 Joonas Niilola
2022-04-24 10:05 Joonas Niilola
2022-03-05 14:46 Matthew Smith
2022-02-26  2:48 Sam James
2022-02-26  2:48 Sam James
2021-10-11 23:29 Sam James
2021-08-28  2:24 Sam James
2021-07-07 10:54 Joonas Niilola
2021-03-20  8:25 Joonas Niilola
2021-01-16 22:01 Sam James
2020-11-25  7:50 Joonas Niilola
2020-11-25  7:50 Joonas Niilola
2020-11-24  3:00 Sam James
2020-11-24  3:00 Sam James
2020-07-25 11:28 Sam James
2020-07-11 23:56 Georgy Yakovlev
2020-07-11  6:03 Georgy Yakovlev
2020-06-13  8:16 Georgy Yakovlev
2020-06-13  8:15 Georgy Yakovlev
2020-04-25 12:27 Georgy Yakovlev
2020-03-26 22:06 Georgy Yakovlev
2020-02-16 21:01 Georgy Yakovlev
2020-01-02  7:38 Georgy Yakovlev
2019-09-01  7:35 Georgy Yakovlev
2019-09-01  7:35 Georgy Yakovlev
2019-09-01  6:49 Georgy Yakovlev
2019-07-26 18:21 Georgy Yakovlev
2019-07-26 18:21 Georgy Yakovlev
2019-05-16  3:39 Georgy Yakovlev
2019-03-19  0:54 Georgy Yakovlev
2019-02-08  4:24 Georgy Yakovlev
2019-01-08 23:40 Georgy Yakovlev
2019-01-06  9:13 Georgy Yakovlev

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=1695786281.91499964a5762bae4e03146aec998b89e1d59c63.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