diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-10-10 20:26:27 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-10-10 20:26:27 +1100 |
| commit | 081595fa2f46ff6a5ac80e4fbfd408564ee924af (patch) | |
| tree | 41fa924c469dd9ea780bb76301f185f7f579b687 /doc | |
| parent | f2fa260929df58cb4f156f89bdefa5f82c92b9e0 (diff) | |
Support specifying the user configuration with KAKOUNE_CONFIG_DIR
Fixes #3072
Closes #3081
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/kak.1 | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -148,10 +148,11 @@ one or more \fIfile\fRs to edit .PP At startup, if \fB\-n\fR is not specified, Kakoune will try to source the file \fI../share/kak/kakrc\fR relative to the kak binary. This kak file will then -try to recursively source any files in \fI$XDG_CONFIG_HOME/kak/autoload\fR -(with \fI$XDG_CONFIG_HOME\fR defaulting to \fI$HOME/.config\fR, and falling back -to \fI../share/kak/autoload\fR if that autoload directory does not exist), -and finally \fI$XDG_CONFIG_HOME/kak/kakrc\fR. +try to recursively source any files in \fI$KAKOUNE_CONFIG_DIR/autoload\fR +(with \fI$KAKOUNE_CONFIG_DIR\fR defaulting to \fI$XDG_CONFIG_HOME/kak\fR +if \fI$XDG_CONFIG_HOME\fR is set, \fI$HOME/.config/kak\fR if it is not, +and falling back to \fI../share/kak/autoload\fR if that autoload directory +does not exist), and finally \fI$XDG_CONFIG_HOME/kak/kakrc\fR. That leads to the following behaviour: by default, with no user autoload directory, the system wide autoload directory is used, once the user wants @@ -189,6 +190,16 @@ kak \-f "ggO// kak: tabstop=8<esc>" *.c .RE .fi +.SH ENVIRONMENT + +.TP +.BR KAKOUNE_POSIX_SHELL +Overrides the posix shell binary path to use for \fI%sh{...}\fR expansion. + +.TP +.BR KAKOUNE_CONFIG_DIR +Overrides the location of the directory containing kakoune user configuration. + .SH FILES If not started with the \fB\-n\fR switch, Kakoune will source the \fI../share/kak/kakrc\fR file relative to the kak binary, |
