mole-cleaner: fix fish completions path

This commit is contained in:
Binbin Qian
2026-06-17 18:19:18 +08:00
committed by Zhenfu Shi
parent 34c3c09f76
commit e3f46f9bf6
+2 -2
View File
@@ -5,7 +5,7 @@ PortGroup golang 1.0
go.setup github.com/tw93/Mole 1.40.0 V
name [string tolower ${github.project}]-cleaner
revision 0
revision 1
categories sysutils
platforms macosx
license MIT
@@ -42,7 +42,7 @@ destroot {
copy ${worksrcpath}/bin ${worksrcpath}/lib ${destroot}${script_dir}
# All supported shells: bash, fish, zsh
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/
set comp_file(bash) [string tolower ${github.project}]
set comp_file(fish) [string tolower ${github.project}].fish