diff options
author | nicm <nicm> | 2015-07-13 13:36:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-07-13 13:36:29 +0000 |
commit | 6308c48efd7a80dad5701721f76b9aafb9b814f8 (patch) | |
tree | 754ef9a583bd197a598ee9a187c3f3e90e8e7408 /tmux.1 | |
parent | cc768d77ec89c43e5770588b36d584d5d18104d3 (diff) |
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.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |