Skip to content

install: fix default location for fish completions - #3723

Closed
eli-schwartz wants to merge 1 commit into
curl:masterfrom
eli-schwartz:fish-install-dir
Closed

install: fix default location for fish completions#3723
eli-schwartz wants to merge 1 commit into
curl:masterfrom
eli-schwartz:fish-install-dir

Conversation

@eli-schwartz

Copy link
Copy Markdown
Contributor

Fish defines a vendor completions directory for completions that are not installed as part of the fish project itself, and the vendor completions are preferred if they exist. This prevents trying to overwrite the builtin curl.fish completion (or creating file conflicts in distro packaging).

Prefer the pkg-config defined location exported by fish, if it can be found, and fall back to the correct directory defined by most systems.

Fish defines a vendor completions directory for completions that are not
installed as part of the fish project itself, and the vendor completions
are preferred if they exist. This prevents trying to overwrite the
builtin curl.fish completion (or creating file conflicts in distro
packaging).

Prefer the pkg-config defined location exported by fish, if it can be
found, and fall back to the correct directory defined by most systems.

@danielgustafsson danielgustafsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not knowing Fish, but reading the documentation this seems like the correct approach.

@danielgustafsson

Copy link
Copy Markdown
Member

This PR failed in the pipeline on Travis network errors, unless objections I plan to merge this shortly.

@eli-schwartz
eli-schwartz deleted the fish-install-dir branch April 5, 2019 15:37
@lock lock Bot locked as resolved and limited conversation to collaborators Jul 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants