From 538921958c71d072f50ca55f6177f674da1f11d6 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 14 Dec 2023 01:43:47 +0100 Subject: doc/config: finish path handling documentation --- doc/config.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') 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) @@ -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`.