diff options
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, |
