aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2017-07-21 09:17:19 +0000
committernicm <nicm>2017-07-21 09:17:19 +0000
commit11e2af6df76e7384b4dcd20ea3b42ccba8e72310 (patch)
tree1563cfea3b94c7448d7a848b482b4978da0f66db /tmux.1
parent932f6cfbfc98ab2d6e593f7fa3473a6bb3269967 (diff)
downloadrtmux-11e2af6df76e7384b4dcd20ea3b42ccba8e72310.tar.gz
rtmux-11e2af6df76e7384b4dcd20ea3b42ccba8e72310.tar.bz2
rtmux-11e2af6df76e7384b4dcd20ea3b42ccba8e72310.zip
Add -c for respawn-pane and respawn-window, from J Raynor.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 4f9e3e5d..c9a181e6 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1834,6 +1834,7 @@ and unzoomed (its normal position in the layout).
begins mouse resizing (only valid if bound to a mouse key binding, see
.Sx MOUSE SUPPORT ) .
.It Xo Ic respawn-pane
+.Op Fl c Ar start-directory
.Op Fl k
.Op Fl t Ar target-pane
.Op Ar shell-command
@@ -1848,7 +1849,10 @@ is not given, the command used when the pane was created is executed.
The pane must be already inactive, unless
.Fl k
is given, in which case any existing command is killed.
+.Fl c
+specifies a new working directory for the pane.
.It Xo Ic respawn-window
+.Op Fl c Ar start-directory
.Op Fl k
.Op Fl t Ar target-window
.Op Ar shell-command
@@ -1863,6 +1867,8 @@ is not given, the command used when the window was created is executed.
The window must be already inactive, unless
.Fl k
is given, in which case any existing command is killed.
+.Fl c
+specifies a new working directory for the window.
.It Xo Ic rotate-window
.Op Fl DU
.Op Fl t Ar target-window