mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Add a -s flag to show-environment to output Bourne shell commands a la
ssh-agent. Mostly from Cam Hutchison with some changes by me.
This commit is contained in:
5
tmux.1
5
tmux.1
@ -3542,7 +3542,7 @@ flag unsets a variable.
|
||||
indicates the variable is to be removed from the environment before starting a
|
||||
new process.
|
||||
.It Xo Ic show-environment
|
||||
.Op Fl g
|
||||
.Op Fl gs
|
||||
.Op Fl t Ar target-session
|
||||
.Op Ar variable
|
||||
.Xc
|
||||
@ -3556,6 +3556,9 @@ If
|
||||
is omitted, all variables are shown.
|
||||
Variables removed from the environment are prefixed with
|
||||
.Ql - .
|
||||
If
|
||||
.Fl s
|
||||
is used, the output is formatted as a set of Bourne shell commands.
|
||||
.El
|
||||
.Sh STATUS LINE
|
||||
.Nm
|
||||
|
Reference in New Issue
Block a user