summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-27 11:24:19 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-27 11:24:19 +0000
commit677ede0b2017a13684d89796b3a54baf43185d02 (patch)
treef2782ea9629d2dea558e869fccf64abad63527a1 /usr.bin/tmux/tmux.1
parentc7c73f63cda79a16f447d7091e5c368487df67e5 (diff)
Add TMUX_TMPDIR variable to put the socket directory outside
TMPDIR. From Ben Boeckel.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.111
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index cf6dd8c96ad..7a028687c02 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.354 2013/03/27 11:17:12 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.355 2013/03/27 11:24:18 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -141,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