summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2017-08-21 16:26:03 +0300
committerFrank LENORMAND <lenormf@gmail.com>2017-08-25 11:52:25 +0300
commit4e36bc7bf88025bd13d5874978502882da068c2d (patch)
tree0cadb187991e5bc562b756d99296d34713369437
parent1688332d1205c57b5d18b930819f52a9c04e4c04 (diff)
doc faq: Document the expansion of shell scopes
-rw-r--r--doc/manpages/faq.asciidoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/manpages/faq.asciidoc b/doc/manpages/faq.asciidoc
index d80ffa6d..71fcc8aa 100644
--- a/doc/manpages/faq.asciidoc
+++ b/doc/manpages/faq.asciidoc
@@ -133,6 +133,16 @@ The shell scope allows users to spawn any interpreter they want, for a minimal
cost in terms of performance, it is therefore the reason why it's the only
one available by default.
+What shell is used to expand `%sh{}` scopes ?
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The server expands shell scopes using the `sh` binary, stored in one of the
+directories where all the POSIX standard utilities can be found -this list
+of directories is stored in a system configuration variable, and queried
+by Kakoune at startup.
+
+In most distributions, `/bin/sh` will end up being used.
+
Can I disable auto-indentation completely ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~