diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-04-04 14:33:35 +0800 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-04 15:58:13 -0700 |
commit | 484c1484c9ae01354b1910bae5ed8a729e00b3be (patch) | |
tree | 49fa9588c83bd893d0edd9fc5db990a03a605907 /share/__fish_build_paths.fish.in | |
parent | cb6d5d76c8232264f66c9a1db895d9dd69d77bc3 (diff) |
Customisable extra configuration, completion and function directories
- Add options to the autotools build to set the path for the "vendor"
or "extra" configuration snippets, functions and completions
directories.
- Remove the vendor_completions directory from the Xcode build, as
these are relocatable and compiling the paths in does not make sense.
This allows packaging tools like Homebrew and Nix to use a common
directory outside of the main prefix for third-party completions, and
to make these available for programmatic discovery through `pkg-config`.
Closes #2113
Diffstat (limited to 'share/__fish_build_paths.fish.in')
-rw-r--r-- | share/__fish_build_paths.fish.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/__fish_build_paths.fish.in b/share/__fish_build_paths.fish.in new file mode 100644 index 00000000..4b923d7e --- /dev/null +++ b/share/__fish_build_paths.fish.in @@ -0,0 +1,8 @@ +# @configure_input@ +# This function is generated by the autotools build to "compile in" +# the local "vendor" completions, functions and configuration snippets. +# It is sourced by share/config.fish, if it exists. + +set __extra_completionsdir @extra_completionsdir@ +set __extra_functionsdir @extra_functionsdir@ +set __extra_snippetsdir @extra_snippetsdir@ |