summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-07-17 16:29:58 +0200
committerFlorian Schmaus <flow@gentoo.org>2023-07-17 16:36:06 +0200
commit27495f929f6bc5e9953b69ec5fd1ee3d0155b5ba (patch)
tree3ba30f22f00f00498a131d05b771cc7a2b481970 /app-shells
parentprofiles: Add old grilo and dleyna packages to pragha's mask (diff)
downloadgentoo-27495f929f6bc5e9953b69ec5fd1ee3d0155b5ba.tar.gz
gentoo-27495f929f6bc5e9953b69ec5fd1ee3d0155b5ba.tar.bz2
gentoo-27495f929f6bc5e9953b69ec5fd1ee3d0155b5ba.zip
app-shells/atuin: switch from bash-completion-r1 to shell-completion eclass
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/atuin/atuin-15.0.0.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/app-shells/atuin/atuin-15.0.0.ebuild b/app-shells/atuin/atuin-15.0.0.ebuild
index 3a2adcb1791f..036e59045492 100644
--- a/app-shells/atuin/atuin-15.0.0.ebuild
+++ b/app-shells/atuin/atuin-15.0.0.ebuild
@@ -310,7 +310,7 @@ CRATES="
zeroize_derive-1.4.2
"
-inherit bash-completion-r1 cargo
+inherit cargo shell-completion
DESCRIPTION="Shell history manager supporting encrypted synchronisation"
HOMEPAGE="https://github.com/ellie/atuin"
@@ -358,10 +358,6 @@ src_install() {
dodoc -r "${DOCS[@]}"
newbashcomp "completions/${PN}.bash" "${PN}"
-
- insinto /usr/share/zsh/site-functions
- doins "completions/_${PN}"
-
- insinto /usr/share/fish/vendor_completions.d
- doins "completions/${PN}.fish"
+ dozshcomp "completions/_${PN}"
+ dofishcomp "completions/${PN}.fish"
}