From 4e36bc7bf88025bd13d5874978502882da068c2d Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Mon, 21 Aug 2017 16:26:03 +0300 Subject: [PATCH] doc faq: Document the expansion of shell scopes --- doc/manpages/faq.asciidoc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~