mirror of
https://github.com/tmux/tmux.git
synced 2026-06-04 00:56:17 +00:00
Merge branch 'floating_panes' into floating_panes_staging
This commit is contained in:
16
tmux.1
16
tmux.1
@@ -7848,7 +7848,7 @@ option.
|
||||
.Op Fl c Ar start\-directory
|
||||
.Op Fl d Ar delay
|
||||
.Op Fl t Ar target\-pane
|
||||
.Op Ar shell\-command
|
||||
.Op Ar shell\-command Op Ar argument ...
|
||||
.Xc
|
||||
.D1 Pq alias: Ic run
|
||||
Execute
|
||||
@@ -7865,6 +7865,20 @@ Before being executed,
|
||||
is expanded using the rules specified in the
|
||||
.Sx FORMATS
|
||||
section.
|
||||
If
|
||||
.Ar argument
|
||||
values are given, they are available as
|
||||
.Ql #1 ,
|
||||
.Ql #2
|
||||
or
|
||||
.Ql #{1} ,
|
||||
.Ql #{2}
|
||||
and so on.
|
||||
For example:
|
||||
.Bd -literal -offset indent
|
||||
run-shell 'myscript.sh #1 #2' foo bar
|
||||
.Ed
|
||||
.Pp
|
||||
With
|
||||
.Fl b ,
|
||||
the command is run in the background.
|
||||
|
||||
Reference in New Issue
Block a user