diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-09-26 21:28:07 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-27 04:44:41 +0100 |
commit | 91499964a5762bae4e03146aec998b89e1d59c63 (patch) | |
tree | 673b4d9fc27870bff4ad7590dd40aebf559b0dda /sys-apps/bat | |
parent | sys-apps/bat: modernize cargo.eclass usage (diff) | |
download | gentoo-91499964a5762bae4e03146aec998b89e1d59c63.tar.gz gentoo-91499964a5762bae4e03146aec998b89e1d59c63.tar.bz2 gentoo-91499964a5762bae4e03146aec998b89e1d59c63.zip |
sys-apps/bat: use shell-completion.eclass
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33083
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/bat')
-rw-r--r-- | sys-apps/bat/bat-0.23.0.ebuild | 10 |
1 files 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 } |