diff options
author | Jonas Frei <freijon@pm.me> | 2023-04-12 06:01:01 +0200 |
---|---|---|
committer | Jonas Frei <freijon@pm.me> | 2023-04-12 06:01:19 +0200 |
commit | fd0073e7dc032159387d2e7c64e99c99904b9914 (patch) | |
tree | 57e8364e495a97e820f11a08d8fa086c613874a9 | |
parent | sys-devel/just: Make use of 'shell-completion' eclass (diff) | |
download | guru-fd0073e7dc032159387d2e7c64e99c99904b9914.tar.gz guru-fd0073e7dc032159387d2e7c64e99c99904b9914.tar.bz2 guru-fd0073e7dc032159387d2e7c64e99c99904b9914.zip |
sys-power/fan2go: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
-rw-r--r-- | sys-power/fan2go/fan2go-0.6.2-r1.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-power/fan2go/fan2go-0.6.2-r1.ebuild b/sys-power/fan2go/fan2go-0.6.2-r1.ebuild index e871b8947..f61009955 100644 --- a/sys-power/fan2go/fan2go-0.6.2-r1.ebuild +++ b/sys-power/fan2go/fan2go-0.6.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 go-module systemd +inherit go-module shell-completion systemd EGO_SUM=( "cloud.google.com/go v0.26.0/go.mod" @@ -629,11 +629,9 @@ src_install() { systemd_dounit fan2go.service insinto /etc/fan2go doins fan2go.yaml - newbashcomp fan2go.bash fan2go - insinto "/usr/share/fish/vendor_completions.d" - doins fan2go.fish - insinto "/usr/share/zsh/site-functions" - newins fan2go.zsh _fan2go + newbashcomp "${PN}.bash" "${PN}" + dofishcomp "${PN}.fish" + newzshcomp "${PN}.zsh" "_${PN}" } src_test() { |