From 7c3741e180f6e28644dbed53780c77408da244fb Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 24 Mar 2015 13:24:44 +0000 Subject: [PATCH] Tweak README to make it clear that user's kakrc is sourced *after* autoloads --- README.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 97e571e1..86ec9a7e 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -127,8 +127,8 @@ Just running *kak* launch a new kak session with a client on local terminal. At startup, if +-n+ is not specified, Kakoune will try to source the file ../share/kak/kakrc relative to the kak binary. This kak file will then try -to source $XDG_CONFIG_HOME/kak/kakrc (with $XDG_CONFIG_HOME defaulting to -$HOME/.config), and any files in $XDG_CONFIG_HOME/kak/autoload. +to source any files in $XDG_CONFIG_HOME/kak/autoload (with $XDG_CONFIG_HOME +defaulting to $HOME/.config), and finally $XDG_CONFIG_HOME/kak/kakrc. The common pattern is to add links to $XDG_CONFIG_HOME/kak/autoload to the scripts in $PREFIX/share/kak/rc that the user wants sourced at kak launch.