From 71d453f169ffac345db3e4c82f4409fc41091002 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 23 Aug 2023 08:40:25 +0000 Subject: Add -c to run-shell to set working directory, from someone in GitHub issue 3661. --- tmux.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 7836e5f5..3228556c 100644 --- a/tmux.1 +++ b/tmux.1 @@ -6639,6 +6639,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 @@ -6666,6 +6667,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 -- cgit v1.2.3