mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
app-misc/lf: use shell-completion
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
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/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz"
|
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}"
|
newbashcomp "etc/${PN}.bash" "${PN}"
|
||||||
|
|
||||||
# zsh-completion
|
# zsh-completion
|
||||||
insinto /usr/share/zsh/site-functions
|
newzshcomp "etc/${PN}.zsh" "_${PN}"
|
||||||
newins "etc/${PN}.zsh" "_${PN}"
|
|
||||||
|
|
||||||
# fish-completion
|
# fish-completion
|
||||||
insinto /usr/share/fish/vendor_completions.d
|
dofishcomp "etc/${PN}.fish"
|
||||||
doins "etc/${PN}.fish"
|
dofishcomp "etc/${PN}cd.fish"
|
||||||
insinto /usr/share/fish/vendor_functions.d
|
|
||||||
doins "etc/${PN}cd.fish"
|
|
||||||
|
|
||||||
domenu "${PN}.desktop"
|
domenu "${PN}.desktop"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user