also looks like maybe these too?

sysutils/chezmoi, devel/goreleaser, security/password-store

devel/goreleaser is taken care of
security/password-store isn't strictly wrong, the completions are just installed
as examples. That way they cannot cause conflicts when fish decides to ship 
their
own version ...

As for sysutils/chezmoi:
The port currently introduces a function named "chezmoi-completions" that you
can invoke from fish if so inclined, but it doesn't complete anything ...
Diff attached ...
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/chezmoi/Makefile,v
diff -u -p -r1.15 Makefile
--- Makefile    8 Nov 2024 10:55:22 -0000       1.15
+++ Makefile    22 Jan 2025 20:23:07 -0000
@@ -2,6 +2,7 @@ COMMENT =               dotfiles manager across multi
 
 MODGO_MODNAME =                github.com/twpayne/chezmoi/v2
 MODGO_VERSION =                v2.53.1
+REVISION =             0
 
 DISTNAME =             chezmoi-${MODGO_VERSION}
 
@@ -26,9 +27,9 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.zsh \
                ${PREFIX}/share/zsh/site-functions/_chezmoi
 
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/functions
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/vendor_completions.d
        ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi.fish \
-               ${PREFIX}/share/fish/functions/chezmoi-completion.fish
+               ${PREFIX}/share/fish/vendor_completions.d/chezmoi.fish
 
        ${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions
        ${INSTALL_DATA} ${WRKSRC}/completions/chezmoi-completion.bash \
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/chezmoi/pkg/PLIST,v
diff -u -p -r1.4 PLIST
--- pkg/PLIST   7 May 2022 14:39:34 -0000       1.4
+++ pkg/PLIST   22 Jan 2025 20:23:07 -0000
@@ -3,8 +3,8 @@ share/bash-completion/
 share/bash-completion/completions/
 share/bash-completion/completions/chezmoi
 share/fish/
-share/fish/functions/
-share/fish/functions/chezmoi-completion.fish
+share/fish/vendor_completions.d/
+share/fish/vendor_completions.d/chezmoi.fish
 share/zsh/
 share/zsh/site-functions/
 share/zsh/site-functions/_chezmoi

Reply via email to