On Sun, 08 Jun 2025 19:07:41 +0200,
Florian Viehweger <[email protected]> wrote:
> 
> @@ -37,5 +37,11 @@ CONFIGURE_ARGS +=  --without-imagemagick
>  
>  post-install:
>       ${INSTALL_MAN} ${WRKSRC}/docs/chafa.1 ${PREFIX}/man/man1
> +     ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/vendor_completions.d
> +     ${INSTALL_DATA} ${WRKSRC}/tools/completions/fish-completion.fish \
> +     ${PREFIX}/share/fish/vendor_completions.d/chafa.fish
> +     ${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions
> +     ${INSTALL_DATA} ${WRKSRC}/tools/completions/zsh-completion.zsh \
> +     ${PREFIX}/share/zsh/site-functions/_chafa
>  

I think that:

        ${INSTALL_DATA_DIR} ${PREFIX}/share/fish/vendor_completions.d
        ${INSTALL_DATA} ${WRKSRC}/tools/completions/fish-completion.fish \
                ${PREFIX}/share/fish/vendor_completions.d/chafa.fish
        ${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions
        ${INSTALL_DATA} ${WRKSRC}/tools/completions/zsh-completion.zsh \
                ${PREFIX}/share/zsh/site-functions/_chafa

reads better.

-- 
wbr, Kirill

Reply via email to