git: cc7b0877fb - main - books/porters-handbook: Include fish-shell completion path

Lewis Cook lcook at FreeBSD.org
Thu Apr 29 14:23:46 UTC 2021


The branch main has been updated by lcook (ports committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=cc7b0877fbd2f7a0f89c8f1c5cc2705b2a9f333d

commit cc7b0877fbd2f7a0f89c8f1c5cc2705b2a9f333d
Author:     Lewis Cook <lcook at FreeBSD.org>
AuthorDate: 2021-04-25 15:52:27 +0000
Commit:     Lewis Cook <lcook at FreeBSD.org>
CommitDate: 2021-04-29 14:20:46 +0000

    books/porters-handbook: Include fish-shell completion path
    
    Approved by:            0mp, ygy
    Differential Revision:  https://reviews.freebsd.org/D29973
---
 documentation/content/en/books/porters-handbook/special/_index.adoc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/documentation/content/en/books/porters-handbook/special/_index.adoc b/documentation/content/en/books/porters-handbook/special/_index.adoc
index ca302cb9d2..71a35cd0ef 100644
--- a/documentation/content/en/books/porters-handbook/special/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/special/_index.adoc
@@ -4307,7 +4307,7 @@ Just like in case of Go language, Ports must not package or install Haskell libr
 [[shell-completion]]
 == Shell Completion Files
 
-Many modern shells (including bash, tcsh, and zsh) support parameter and/or option tab-completion. This support usually comes from completion files, which contain the definitions for how tab completion will work for a certain command. Ports sometimes ship with their own completion files, or porters may have created them themselves.
+Many modern shells (including bash, fish, tcsh and zsh) support parameter and/or option tab-completion. This support usually comes from completion files, which contain the definitions for how tab completion will work for a certain command. Ports sometimes ship with their own completion files, or porters may have created them themselves.
 
 When available, completion files should always be installed. It is not necessary to make an option for it. If an option is used, though, always enable it in `OPTIONS_DEFAULT`.
 [[shell-completion-paths]]
@@ -4317,6 +4317,9 @@ When available, completion files should always be installed. It is not necessary
 |`bash`
 |[.filename]#${PREFIX}/etc/bash_completion.d#
 
+|`fish`
+|[.filename]#${PREFIX}/share/fish/vendor_completions.d#
+
 |`zsh`
 |[.filename]#${PREFIX}/share/zsh/site-functions#
 |===


More information about the dev-commits-doc-all mailing list