diff --git a/app-shells/spark-fish/spark-fish-1.2.0.ebuild b/app-shells/spark-fish/spark-fish-1.2.0.ebuild index 6514983341..f54ad57d45 100644 --- a/app-shells/spark-fish/spark-fish-1.2.0.ebuild +++ b/app-shells/spark-fish/spark-fish-1.2.0.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MYPN="${PN/-/.}" +inherit shell-completion + DESCRIPTION="Sparklines for Fish" HOMEPAGE="https://github.com/jorgebucaran/spark.fish" SRC_URI="https://github.com/jorgebucaran/spark.fish/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" @@ -27,8 +29,7 @@ DOCS=( README.md ) RESTRICT="!test? ( test )" src_install() { - insinto "/usr/share/fish/vendor_completions.d" - doins completions/* + dofishcomp completions/* insinto "/usr/share/fish/vendor_functions.d" doins functions/* einstalldocs