Merge branch 'master' into floating_panes

This commit is contained in:
Nicholas Marriott
2026-06-01 12:20:03 +01:00
4 changed files with 38 additions and 8 deletions

16
tmux.1
View File

@@ -7964,7 +7964,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
@@ -7981,6 +7981,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.