commit:     433d5fb2775e5d37de5e6888ad91485c2370a651
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Jan 30 11:55:01 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Jan 30 17:44:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=433d5fb2

dev-lang/crystal: use shell-completion for zsh and install fish

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/crystal/crystal-1.15.0-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-lang/crystal/crystal-1.15.0-r1.ebuild 
b/dev-lang/crystal/crystal-1.15.0-r1.ebuild
index 18e05915d1a8..46a09f05b368 100644
--- a/dev-lang/crystal/crystal-1.15.0-r1.ebuild
+++ b/dev-lang/crystal/crystal-1.15.0-r1.ebuild
@@ -8,7 +8,7 @@ BV_AMD64="${BV}-linux-x86_64"
 
 LLVM_COMPAT=( {18..19} )
 
-inherit bash-completion-r1 llvm-r1 multiprocessing toolchain-funcs
+inherit llvm-r1 multiprocessing shell-completion toolchain-funcs
 
 DESCRIPTION="The Crystal Programming Language"
 HOMEPAGE="https://crystal-lang.org/
@@ -110,8 +110,8 @@ src_install() {
        exeinto /usr/bin
        doexe .build/crystal
 
-       insinto /usr/share/zsh/site-functions
-       newins etc/completion.zsh _crystal
+       newzshcomp etc/completion.zsh _crystal
+       newfishcomp etc/completion.fish crystal.fish
 
        dodoc -r samples
        doman "man/${PN}.1"

Reply via email to