aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLewis Cook <lcook@FreeBSD.org>2021-04-25 15:52:27 +0000
committerLewis Cook <lcook@FreeBSD.org>2021-04-29 14:20:46 +0000
commitcc7b0877fbd2f7a0f89c8f1c5cc2705b2a9f333d (patch)
tree975326029528383911ae8efcb3166fa7d2c5c69f
parent14874cd74d40dfb17bd41edc91b88d7ca0dd6990 (diff)
downloaddoc-cc7b0877fbd2f7a0f89c8f1c5cc2705b2a9f333d.tar.gz
doc-cc7b0877fbd2f7a0f89c8f1c5cc2705b2a9f333d.zip
books/porters-handbook: Include fish-shell completion path
Approved by: 0mp, ygy Differential Revision: https://reviews.freebsd.org/D29973
-rw-r--r--documentation/content/en/books/porters-handbook/special/_index.adoc5
1 files changed, 4 insertions, 1 deletions
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#
|===