version 1.670, 2019/06/20 20:31:04 |
version 1.671, 2019/06/21 07:11:01 |
|
|
.Ic if-shell , |
.Ic if-shell , |
the shell command |
the shell command |
.Xr true 1 , |
.Xr true 1 , |
.Ic new-window |
.Ic split-window |
and |
and |
.Ic kill-session |
.Ic kill-session |
in that order. |
in that order. |
|
|
This section describes the syntax of commands parsed by |
This section describes the syntax of commands parsed by |
.Nm , |
.Nm , |
for example in a configuration file or at the command prompt. |
for example in a configuration file or at the command prompt. |
Note the when commands are entered into the shell, they are parsed by the shell |
Note that when commands are entered into the shell, they are parsed by the shell |
- see for example |
- see for example |
.Xr ksh 1 |
.Xr ksh 1 |
or |
or |
|
|
Make pane |
Make pane |
.Ar target-pane |
.Ar target-pane |
the active pane in window |
the active pane in window |
.Ar target-window , |
.Ar target-window. |
or set its style (with |
|
.Fl P ) . |
|
If one of |
If one of |
.Fl D , |
.Fl D , |
.Fl L , |
.Fl L , |
|
|
.Ql #{E:status-left} |
.Ql #{E:status-left} |
is the result of expanding the content of the |
is the result of expanding the content of the |
.Ic status-left |
.Ic status-left |
option rather than the content itself. |
option rather than the option itself. |
.Ql T: |
.Ql T: |
is like |
is like |
.Ql E: |
.Ql E: |
|
|
into |
into |
.Ql bxBxbx . |
.Ql bxBxbx . |
.Pp |
.Pp |
In addition, the first line of a shell command's output may be inserted using |
In addition, the last line of a shell command's output may be inserted using |
.Ql #() . |
.Ql #() . |
For example, |
For example, |
.Ql #(uptime) |
.Ql #(uptime) |
|
|
global environment set (see the |
global environment set (see the |
.Sx GLOBAL AND SESSION ENVIRONMENT |
.Sx GLOBAL AND SESSION ENVIRONMENT |
section). |
section). |
|
.Pp |
|
An |
|
.Ql l |
|
specifies that a string should be interpreted literally and not expanded. |
|
For example |
|
.Ql #{l:#{?pane_in_mode,yes,no}} |
|
will be replaced by |
|
.Ql #{?pane_in_mode,yes,no} . |
.Pp |
.Pp |
The following variables are available, where appropriate: |
The following variables are available, where appropriate: |
.Bl -column "XXXXXXXXXXXXXXXXXXX" "XXXXX" |
.Bl -column "XXXXXXXXXXXXXXXXXXX" "XXXXX" |