version 1.408, 2014/11/12 22:57:06 |
version 1.409, 2014/12/02 23:19:45 |
|
|
.Ql } , |
.Ql } , |
for example |
for example |
.Ql #{session_name} . |
.Ql #{session_name} . |
Some variables also have an shorter alias such as |
The possible variables are listed in the table below, or the name of a |
.Ql #S . |
.Nm |
|
option may be used for an option's value. |
|
Some variables have a shorter alias such as |
|
.Ql #S , |
|
and |
.Ql ## |
.Ql ## |
is replaced by a single |
is replaced by a single |
.Ql # . |
.Ql # . |
Conditionals are also accepted by prefixing with |
.Pp |
|
Conditionals are available by prefixing with |
.Ql \&? |
.Ql \&? |
and separating two alternatives with a comma; |
and separating two alternatives with a comma; |
if the specified variable exists and is not zero, the first alternative |
if the specified variable exists and is not zero, the first alternative |
|
|
.Ql attached |
.Ql attached |
if the session is attached and the string |
if the session is attached and the string |
.Ql not attached |
.Ql not attached |
if it is unattached. |
if it is unattached, or |
|
.Ql #{?automatic-rename,yes,no} |
|
will include |
|
.Ql yes |
|
if |
|
.Ic automatic-rename |
|
is enabled, or |
|
.Ql no |
|
if not. |
A limit may be placed on the length of the resultant string by prefixing it |
A limit may be placed on the length of the resultant string by prefixing it |
by an |
by an |
.Ql = , |
.Ql = , |