about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-14 01:43:47 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-14 01:43:47 +0100
commit538921958c71d072f50ca55f6177f674da1f11d6 (patch)
treea0b893d2e52f63d77416fb71ec37e0a29eb5c5ca /doc
parent1a50291c3eabe563a0a6d999ada01956607cc040 (diff)
downloadchawan-538921958c71d072f50ca55f6177f674da1f11d6.tar.gz
doc/config: finish path handling documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/config.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/config.md b/doc/config.md
index d0d5b549..6633151c 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -42,6 +42,7 @@ examples.
    * [Line-editing actions](#line-editing-actions)
 * [Appendix](#appendix)
    * [Regex handling](#regex-handling)
+   * [Path handling](#path-handling)
 
 <!-- MANON -->
 
@@ -1245,7 +1246,10 @@ Rules for path handling are similar to how strings in the shell are handled.
 Some non-external variables are also defined by Chawan. These can be accessed
 using the syntax `${%VARIABLE}`:
 
-* `${%CHA_BIN_DIR}
+* `${%CHA_BIN_DIR}`: the directory which the `cha` binary resides in. Note
+  that symbolic links are automatically resolved to determine this path.
+* `${%CHA_LIBEXEC_DIR}`: the directory for all executables Chawan uses
+  for operation. By default, this is `${%CHA_BIN_DIR}/../libexec/chawan`.
 
 <!-- MANON