yazi: fix fish completions path

This commit is contained in:
Binbin Qian
2026-06-17 17:58:36 +08:00
committed by Herby Gillot
parent e3f46f9bf6
commit 8caff558bb
+2 -2
View File
@@ -7,7 +7,7 @@ PortGroup github 1.0
github.setup sxyazi yazi 26.5.6 v
github.tarball_from archive
dist_subdir ${name}/${version}
revision 0
revision 1
homepage https://yazi-rs.github.io/
@@ -60,7 +60,7 @@ destroot {
${worksrcpath}/target/[cargo.rust_platform]/release/ya \
${destroot}${prefix}/bin/
set comp_path(bash) ${destroot}${prefix}/share/bash-completion/completions/
set comp_path(fish) ${destroot}${prefix}/share/fish/completions/
set comp_path(fish) ${destroot}${prefix}/share/fish/vendor_completions.d/
set comp_path(zsh) ${destroot}${prefix}/share/zsh/site-functions/
foreach shell {bash fish zsh} {
xinstall -d $comp_path(${shell})