[BACK]Return to tmux.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tmux.1 between version 1.727 and 1.728

version 1.727, 2020/03/31 17:13:20 version 1.728, 2020/03/31 17:14:40
Line 565 
Line 565 
 for example  for example
 .Ql HOME=/home/user .  .Ql HOME=/home/user .
 Variables set during parsing are added to the global environment.  Variables set during parsing are added to the global environment.
   A hidden variable may be set with
   .Ql %hidden ,
   for example:
   .Bd -literal -offset indent
   %hidden MYVAR=42
   .Ed
 .Pp  .Pp
   Hidden variables are not passed to the environment of processes created
   by tmux.
   See the
   .Sx GLOBAL AND SESSION ENVIRONMENT
   section.
   .Pp
 Commands may be parsed conditionally by surrounding them with  Commands may be parsed conditionally by surrounding them with
 .Ql %if ,  .Ql %if ,
 .Ql %elif ,  .Ql %elif ,
Line 4711 
Line 4723 
 variable with the correct terminal setting of  variable with the correct terminal setting of
 .Ql screen .  .Ql screen .
 .Pp  .Pp
   Variables in both session and global environments may be marked as hidden.
   Hidden variables are not passed into the environment of new processes and
   instead can only be used by tmux itself (for example in formats, see the
   .Sx FORMATS
   section).
   .Pp
 Commands to alter and view the environment are:  Commands to alter and view the environment are:
 .Bl -tag -width Ds  .Bl -tag -width Ds
 .It Xo Ic set-environment  .It Xo Ic set-environment
 .Op Fl gru  .Op Fl hgru
 .Op Fl t Ar target-session  .Op Fl t Ar target-session
 .Ar name Op Ar value  .Ar name Op Ar value
 .Xc  .Xc
Line 4731 
Line 4749 
 .Fl r  .Fl r
 indicates the variable is to be removed from the environment before starting a  indicates the variable is to be removed from the environment before starting a
 new process.  new process.
   .Fl h
   marks the variable as hidden.
 .It Xo Ic show-environment  .It Xo Ic show-environment
 .Op Fl gs  .Op Fl hgs
 .Op Fl t Ar target-session  .Op Fl t Ar target-session
 .Op Ar variable  .Op Ar variable
 .Xc  .Xc
Line 4749 
Line 4769 
 If  If
 .Fl s  .Fl s
 is used, the output is formatted as a set of Bourne shell commands.  is used, the output is formatted as a set of Bourne shell commands.
   .Fl h
   shows hidden variables (omitted by default).
 .El  .El
 .Sh STATUS LINE  .Sh STATUS LINE
 .Nm  .Nm

Legend:
Removed from v.1.727  
changed lines
  Added in v.1.728