Add TMUX_TMPDIR variable to put the socket directory outside

TMPDIR. From Ben Boeckel.
This commit is contained in:
Nicholas Marriott
2013-03-27 11:24:18 +00:00
parent 5e4d9a3197
commit 7f63658709
2 changed files with 11 additions and 17 deletions

13
tmux.1
View File

@ -98,10 +98,6 @@ The options are as follows:
Force
.Nm
to assume the terminal supports 256 colours.
.It Fl 8
Like
.Fl 2 ,
but indicates that the terminal supports 88 colours.
.It Fl C
Start in control mode.
Given twice
@ -145,11 +141,12 @@ session created, and continues to process the rest of the configuration file.
.It Fl L Ar socket-name
.Nm
stores the server socket in a directory under
.Pa /tmp
(or
.Ev TMUX_TMPDIR ,
.Ev TMPDIR
if set);
the default socket is named
if it is unset, or
.Pa /tmp
if both are unset.
The default socket is named
.Em default .
This option allows a different socket name to be specified, allowing several
independent