aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Frei <freijon@pm.me>2023-04-13 07:36:44 +0200
committerJonas Frei <freijon@pm.me>2023-04-13 07:36:44 +0200
commit1f59c33682964e977e9239e2fc4e1406f9decbb2 (patch)
treea947e60c6d9a87a90cecbc50ec15dfe6effb9f92 /app-shells
parentapp-shells/spark-fish: Make use of 'shell-completion' eclass (diff)
downloadguru-1f59c33682964e977e9239e2fc4e1406f9decbb2.tar.gz
guru-1f59c33682964e977e9239e2fc4e1406f9decbb2.tar.bz2
guru-1f59c33682964e977e9239e2fc4e1406f9decbb2.zip
app-shells/zoxide: Make use of 'shell-completion' eclass
Signed-off-by: Jonas Frei <freijon@pm.me>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/zoxide/zoxide-0.8.3-r1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-shells/zoxide/zoxide-0.8.3-r1.ebuild b/app-shells/zoxide/zoxide-0.8.3-r1.ebuild
index 67bf478a4..9c23d1a34 100644
--- a/app-shells/zoxide/zoxide-0.8.3-r1.ebuild
+++ b/app-shells/zoxide/zoxide-0.8.3-r1.ebuild
@@ -98,7 +98,7 @@ CRATES="
winapi-x86_64-pc-windows-gnu-0.4.0
"
-inherit cargo bash-completion-r1
+inherit cargo shell-completion
DESCRIPTION="A smarter cd command for your terminal"
# Double check the homepage as the cargo_metadata crate
@@ -132,11 +132,9 @@ src_install() {
newbashcomp contrib/completions/"${PN}".bash "${PN}"
- insinto /usr/share/zsh/site-functions
- doins contrib/completions/_"${PN}"
+ dozshcomp contrib/completions/_"${PN}"
- insinto /usr/share/fish/vendor_completions.d
- doins contrib/completions/"${PN}".fish
+ dofishcomp contrib/completions/"${PN}".fish
insinto /usr/share/"${PN}"
doins init.fish