summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2023-08-23 20:37:42 +0100
committerThomas Adam <thomas@xteddy.org>2023-08-23 20:37:42 +0100
commit70ecf17f857837d399a2cb641fa9628a12615cb3 (patch)
tree64bcbb5aebd4fce05e4488e0aebc9bcdcb4b4243 /tmux.1
parent071849f82f64d686a0d5eb93e0abb751056476ae (diff)
parent71d453f169ffac345db3e4c82f4409fc41091002 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.15
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 97d28e60..4d3cae32 100644
--- a/tmux.1
+++ b/tmux.1
@@ -6642,6 +6642,7 @@ option.
.Tg run
.It Xo Ic run-shell
.Op Fl bC
+.Op Fl c Ar start-directory
.Op Fl d Ar delay
.Op Fl t Ar target-pane
.Op Ar shell-command
@@ -6669,6 +6670,10 @@ waits for
.Ar delay
seconds before starting the command.
If
+.Fl c
+is given, the current working directory is set to
+.Ar start-directory .
+If
.Fl C
is not given, any output to stdout is displayed in view mode (in the pane
specified by