diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-24 09:55:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-24 09:55:02 +0000 |
commit | a05b8c41437409f83cb1df2adc0998791d7a2038 (patch) | |
tree | 469ef1bc02c9322ce2c70e57b8bd3752cbb3e3d2 /tmux.1 | |
parent | 20636d956dd36c1f14152569a4d44a50eea9083d (diff) | |
download | rtmux-a05b8c41437409f83cb1df2adc0998791d7a2038.tar.gz rtmux-a05b8c41437409f83cb1df2adc0998791d7a2038.tar.bz2 rtmux-a05b8c41437409f83cb1df2adc0998791d7a2038.zip |
Add a -o option to set-option to prevent setting an option already set,
from Thiago Padilha.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1992,7 +1992,7 @@ abc123 Commands which set options are as follows: .Bl -tag -width Ds .It Xo Ic set-option -.Op Fl agqsuw +.Op Fl agoqsuw .Op Fl t Ar target-session | Ar target-window .Ar option Ar value .Xc @@ -2021,6 +2021,10 @@ options. It is not possible to unset a global option. .Pp The +.Fl o +flag prevents setting an option that is already set. +.Pp +The .Fl q flag suppresses the informational message (as if the .Ic quiet @@ -3466,6 +3470,7 @@ Miscellaneous commands are as follows: Display a large clock. .It Xo Ic if-shell .Op Fl t Ar target-pane +.Op Fl b .Ar shell-command command .Op Ar command .Xc @@ -3481,12 +3486,17 @@ Before being executed, shell-command is expanded using the rules specified in th .Sx FORMATS section, including those relevant to .Ar target-pane . +With +.Fl b , +.Ar shell-command +is run in the background. .It Ic lock-server .D1 (alias: Ic lock ) Lock each client individually by running the command specified by the .Ic lock-command option. .It Xo Ic run-shell +.Fl b .Op Fl t Ar target-pane .Ar shell-command .Xc @@ -3498,6 +3508,9 @@ Before being executed, shell-command is expanded using the rules specified in the .Sx FORMATS section. +With +.Fl b , +the command is run in the background. After it finishes, any output to stdout is displayed in copy mode (in the pane specified by .Fl t |