Accept an argument to show-environment to show one variable, based on a

diff from Kazuhiko Sakaguchi.
This commit is contained in:
Nicholas Marriott
2012-03-22 11:11:57 +00:00
parent 7c9d003e99
commit c0cfbe12e4
2 changed files with 19 additions and 2 deletions

4
tmux.1
View File

@ -2908,12 +2908,16 @@ new process.
.It Xo Ic show-environment
.Op Fl g
.Op Fl t Ar target-session
.Op Ar variable
.Xc
.D1 (alias: Ic showenv )
Display the environment for
.Ar target-session
or the global environment with
.Fl g .
If
.Ar variable
is omitted, all variables are shown.
Variables removed from the environment are prefixed with
.Ql - .
.El