Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/porters-handbook/special/_index.adoc
Show First 20 Lines • Show All 4,301 Lines • ▼ Show 20 Lines | |||||
[[haskell-libs]] | [[haskell-libs]] | ||||
== Haskell Libraries | == Haskell Libraries | ||||
Just like in case of Go language, Ports must not package or install Haskell libraries. Haskell ports must link statically to their dependencies and fetch all distribution files on fetch stage. | Just like in case of Go language, Ports must not package or install Haskell libraries. Haskell ports must link statically to their dependencies and fetch all distribution files on fetch stage. | ||||
[[shell-completion]] | [[shell-completion]] | ||||
== Shell Completion Files | == 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. | ||||
0mp: I'd keep this list sorted (that is, put fish between bash and tcsh). | |||||
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`. | 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]] | [[shell-completion-paths]] | ||||
.Shell completion file paths | .Shell completion file paths | ||||
[cols="1,1", frame="none"] | [cols="1,1", frame="none"] | ||||
|=== | |=== | ||||
|`bash` | |`bash` | ||||
|[.filename]#${PREFIX}/etc/bash_completion.d# | |[.filename]#${PREFIX}/etc/bash_completion.d# | ||||
|`fish` | |||||
|[.filename]#${PREFIX}/share/fish/vendor_completions.d# | |||||
|`zsh` | |`zsh` | ||||
|[.filename]#${PREFIX}/share/zsh/site-functions# | |[.filename]#${PREFIX}/share/zsh/site-functions# | ||||
|=== | |=== | ||||
Do not register any dependencies on the shells themselves. | Do not register any dependencies on the shells themselves. | ||||
Done Inline ActionsLet's put it between bash and zsh to keep the table entries in order. 0mp: Let's put it between bash and zsh to keep the table entries in order. |
I'd keep this list sorted (that is, put fish between bash and tcsh).