From 4b2821ff9861b193226442e9bc5507a9ddffa827 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 24 Jan 2017 20:15:32 +0000 Subject: Make update-environment an array as well. --- tmux.1 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index f30b45f1..6f680fdf 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2869,19 +2869,15 @@ For how to specify see the .Ic message-command-style option. -.It Ic update-environment Ar variables -Set a space-separated string containing a list of environment variables to be -copied into the session environment when a new session is created or an -existing session is attached. +.It Ic update-environment[] Ar variable +Set list of environment variables to be copied into the session environment +when a new session is created or an existing session is attached. Any variables that do not exist in the source environment are set to be removed from the session environment (as if .Fl r was given to the .Ic set-environment command). -The default is -"DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID -XAUTHORITY". .It Xo Ic visual-activity .Op Ic on | off .Xc -- cgit