From 8a7023731f8ecdad3ff4dd8a2533973a5e0f155f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlys=20Bras=20de=20fer?= Date: Mon, 1 Jun 2020 15:23:23 +0200 Subject: [PATCH 1/2] Fix default value of $XDG_CONFIG_HOME in doc --- doc/kak.1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/kak.1 b/doc/kak.1 index 1aac6e82..da557d8f 100644 --- a/doc/kak.1 +++ b/doc/kak.1 @@ -158,8 +158,7 @@ defaults to \fI$XDG_CONFIG_HOME/kak\fR if unset. .TP .BR XDG_CONFIG_HOME -Path to the user configuration directory, defaults to \fI$HOME/.config/kak\fR -if unset. +Path to the user configuration directory, defaults to \fI$HOME/.config\fR if unset. .TP .BR XDG_RUNTIME_DIR From 6fa26b8dd2ac0931fe688370728c47086277d883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlys=20Bras=20de=20fer?= Date: Mon, 1 Jun 2020 15:46:24 +0200 Subject: [PATCH 2/2] Fix usage of $KAKOUNE_CONFIG_DIR in doc --- doc/kak.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/kak.1 b/doc/kak.1 index da557d8f..bd09f432 100644 --- a/doc/kak.1 +++ b/doc/kak.1 @@ -175,7 +175,7 @@ If not started with the \fB\-n\fR switch, Kakoune will first load .nf .RS -if the \fI$KAKOUNE_CONFIG_DIR/kak/autoload\fR directory exists, recursively load every +if the \fI$KAKOUNE_CONFIG_DIR/autoload\fR directory exists, recursively load every \fI*.kak\fR files in it and its sub-directories .RE .fi @@ -196,11 +196,11 @@ configuration .nf .RS -\fI$KAKOUNE_CONFIG_DIR/kak/kakrc\fR, if it exists; this is the user configuration +\fI$KAKOUNE_CONFIG_DIR/kakrc\fR, if it exists; this is the user configuration .RE .fi -Consequently, if the \fI$KAKOUNE_CONFIG_DIR/kak/autoload\fR directory exists, +Consequently, if the \fI$KAKOUNE_CONFIG_DIR/autoload\fR directory exists, only scripts stored within that directory will be loaded \- the built-in \fI*.kak\fR files \fBwill not be\fR.