diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 7ab1be89275d023cfa62295dffffda617827f9fb
parent 8420712317f8c340d146f8b20a8d720e8823bf17
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Mon,  8 Feb 2021 22:06:02 +0100

Update README.md

Co-authored-by: Oliver Blanthorn <freedom4cows@gmail.com>
Diffstat:
MREADME.md | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -92,7 +92,7 @@ The file `${XDG_CONFIG_HOME:-~/.config}/diary/diary.cfg` should adhere to a basi ## Precedence Rules <a name="precedence_rules"></a> -The default variables, for instance, for the configuration variables `editor`, `dir` and `weekday`, are populated with values in the following order: +The default variables, for instance, for the configuration variables `editor`, `dir` and `weekday`, are populated with values in the following order, where earlier entries are overwritten by subsequent ones if they exist: 1. No default for `DIARY_DIR`. Defaults for `range`, `weekday`, `fmt` and `editor` are provided in [diary.h](diary.h) * If `EDITOR` is unset and no editor is provided in the config file or via the `-e` option, the diary works read-only. Journal files cannot be opened. * If `DIARY_DIR` is not provided, the diary won't open. @@ -126,4 +126,4 @@ $ rm ${XDG_CONFIG_HOME:-~/.config}/diary/diary.cfg # start with 'weekday' default value from source code (1=Mon) $ diary -``` -\ No newline at end of file +```