aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 15:25:24 +0000
committernicm <nicm>2020-05-16 15:25:24 +0000
commitedeb81ba9e7ef3665f055cc54fee6cfdb3979fea (patch)
treec3f5620478967c9bcca4013a9a98bb9ad89d4380 /tmux.1
parent78595457f965975cf5a24e8bbab6dcb153020b6e (diff)
downloadrtmux-edeb81ba9e7ef3665f055cc54fee6cfdb3979fea.tar.gz
rtmux-edeb81ba9e7ef3665f055cc54fee6cfdb3979fea.tar.bz2
rtmux-edeb81ba9e7ef3665f055cc54fee6cfdb3979fea.zip
Add -e for new-session to set environment variables.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index d0c4f25b..5b7bb3db 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1094,6 +1094,7 @@ Lock all clients attached to
.It Xo Ic new-session
.Op Fl AdDEPX
.Op Fl c Ar start-directory
+.Op Fl e Ar environment
.Op Fl F Ar format
.Op Fl n Ar window-name
.Op Fl s Ar session-name
@@ -1200,6 +1201,11 @@ If
is used, the
.Ic update-environment
option will not be applied.
+.Fl e
+takes the form
+.Ql VARIABLE=value
+and sets an environment variable for the newly created session; it may be
+specified multiple times.
.It Xo Ic refresh-client
.Op Fl cDlLRSU
.Op Fl C Ar XxY