aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-10-20 23:21:57 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-02-26 12:14:55 +0100
commitc1b384e5d3f2f46e7d7a1b41e31c7aadc1d9ce28 (patch)
treed8a503f47681505cef7cbbdbdc4f3b0541d768f8 /doc_src
parent8b67a1b26f2525f7de1e2a64dee6ab48b72b0e33 (diff)
Add functions and configuration snippets hierarchy
This allows "vendors" (i.e. third-party upstreams interested in supporting fish) to add auto-loaded functions and eager-loaded configuration "snippets", while still allowing both the user and the administrator to fully override all of that. This has been inspired by systemd's configuration hierarchy, and implements a similar scheme whereby files with the same name in higher-ranking directories override files in lower-ranking ones. Fixes #1956
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/index.hdr.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index 9531876b..a0f7ec0a 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -1088,6 +1088,7 @@ function on_exit --on-process %self
end
\endfish
+Right after reading /usr/share/fish/config.fish and before reading /etc/fish/config.fish, fish will also read files in ~/.config/fish/conf.d/, /etc/fish/conf.d and /usr/share/fish/vendor_conf.d (the exact values depend on $XDG_CONFIG_HOME, $__fish_sysconfdir and $__fish_datadir). If there are files with the same name in two or all of these, fish will only attempt to read the first (skipping all files with that name if it is unreadable). ~/.config takes precedence over /etc/ which takes precedence over /usr. The path to the latter can also be gotten via `pkg-config` as "confdir", and is meant for third-party applications to integrate with fish.
\section other Other features