From 484c1484c9ae01354b1910bae5ed8a729e00b3be Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 4 Apr 2016 14:33:35 +0800 Subject: 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 --- share/__fish_build_paths.fish.in | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 share/__fish_build_paths.fish.in (limited to 'share/__fish_build_paths.fish.in') 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@ -- cgit v1.2.3