Clarify some points about config files, notably that they are only read

at server start. From Thomas Adam.
This commit is contained in:
Nicholas Marriott 2012-11-19 10:50:24 +00:00
parent 827b311c81
commit 9a7e5bd1d3

12
tmux.1
View File

@ -124,13 +124,19 @@ loads the system configuration file from
.Pa /etc/tmux.conf , .Pa /etc/tmux.conf ,
if present, then looks for a user configuration file at if present, then looks for a user configuration file at
.Pa ~/.tmux.conf . .Pa ~/.tmux.conf .
.Pp
The configuration file is a set of The configuration file is a set of
.Nm .Nm
commands which are executed in sequence when the server is first started. commands which are executed in sequence when the server is first started.
.Pp
If a command in the configuration file fails,
.Nm .Nm
will report an error and exit without executing further commands. loads configuration files once when the server process has started.
The
.Ic source-file
command may be used to load a file later.
.Pp
.Nm
shows any error messages from commands in configuration files in the first
session created, and continues to process the rest of the configuration file.
.It Fl L Ar socket-name .It Fl L Ar socket-name
.Nm .Nm
stores the server socket in a directory under stores the server socket in a directory under