aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish.pc.in
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-04-04 14:33:35 +0800
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-04 15:58:13 -0700
commit484c1484c9ae01354b1910bae5ed8a729e00b3be (patch)
tree49fa9588c83bd893d0edd9fc5db990a03a605907 /fish.pc.in
parentcb6d5d76c8232264f66c9a1db895d9dd69d77bc3 (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 'fish.pc.in')
-rw-r--r--fish.pc.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/fish.pc.in b/fish.pc.in
index c8fabd7e..d110a2fb 100644
--- a/fish.pc.in
+++ b/fish.pc.in
@@ -1,8 +1,8 @@
prefix=@prefix@
datadir=@datadir@
-completionsdir=${datadir}/fish/vendor_completions.d
-functionsdir=${datadir}/fish/vendor_functions.d
-confdir=${datadir}/fish/vendor_conf.d
+completionsdir=@extra_completionsdir@
+functionsdir=@extra_functionsdir@
+confdir=@extra_snippetsdir@
Name: fish
Description: fish, the friendly interactive shell