aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfe İzbudak <efe.izbudak@metu.edu.tr>2023-09-21 03:29:38 -0400
committerEfe İzbudak <efe.izbudak@metu.edu.tr>2023-09-21 03:29:38 -0400
commit57cf8e9eded06c5b1daeeed7f1c099dbd97a637a (patch)
treed9280dad6977ba95df622281006e878879ffc71f /app-misc
parentapp-admin/linode-cli: drop 5.44.0 (diff)
downloadguru-57cf8e9eded06c5b1daeeed7f1c099dbd97a637a.tar.gz
guru-57cf8e9eded06c5b1daeeed7f1c099dbd97a637a.tar.bz2
guru-57cf8e9eded06c5b1daeeed7f1c099dbd97a637a.zip
app-misc/lf: use shell-completion
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lf/lf-31.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/app-misc/lf/lf-31.ebuild b/app-misc/lf/lf-31.ebuild
index 2d460bdaf..b52e89d2e 100644
--- a/app-misc/lf/lf-31.ebuild
+++ b/app-misc/lf/lf-31.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit go-module bash-completion-r1 desktop xdg
+inherit go-module shell-completion desktop xdg
SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz"
@@ -45,14 +45,11 @@ src_install() {
newbashcomp "etc/${PN}.bash" "${PN}"
# zsh-completion
- insinto /usr/share/zsh/site-functions
- newins "etc/${PN}.zsh" "_${PN}"
+ newzshcomp "etc/${PN}.zsh" "_${PN}"
# fish-completion
- insinto /usr/share/fish/vendor_completions.d
- doins "etc/${PN}.fish"
- insinto /usr/share/fish/vendor_functions.d
- doins "etc/${PN}cd.fish"
+ dofishcomp "etc/${PN}.fish"
+ dofishcomp "etc/${PN}cd.fish"
domenu "${PN}.desktop"
}