-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contributed by @erpel
- Loading branch information
Showing
3 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
.Li | | ||
.Op Fl s Ar session-name | ||
.Op Fl l Ar tmux-layout | ||
.Op Fl f Ar host_file | ||
.Op Fl x | ||
.Op Fl p | ||
.Op Fl P | ||
|
@@ -27,20 +28,23 @@ multiplex/broadcast commands to all split panes / servers (see -a). | |
.Pp | ||
Its arguments are as follows: | ||
.Bl -tag -width Ds | ||
.It Fl s | ||
.It Fl s session-name | ||
Specify a name for the tmux session. It defaults to 'hostmux' which means that | ||
you can have only one hostmux session at a time if you don't specify unique | ||
names for your sessions | ||
.It Fl l | ||
.It Fl l tmux-layout | ||
Specify a valid tmux layout e.g. even-horizontal, tiled, etc. It defaults to | ||
'even-vertical' | ||
.It Fl f Ar hostfile | ||
Specify a file which contains a newline separated list of [user@]host names. The | ||
hosts from the file will be merged with the hosts provided as optional arguments | ||
.It Fl x | ||
Close the pane and/or session automatically when the ssh session | ||
exits successfully | ||
.It Fl p | ||
Identify panes by setting the pane title to the ssh hostname (tmux >= 2.3), may | ||
not work if the remote host does $PS1 magic like setting the terminal title, | ||
in that case use | ||
in that case use | ||
.Fl P | ||
.It Fl P | ||
Identify panes by setting the remote prompt $PS1 to "[<hostname>]$ " after | ||
|
@@ -67,4 +71,3 @@ to ssh. If you do need them, add them to your ~/.ssh/config | |
was written by | ||
.An John-Paul Bader (hukl) , | ||
.Mt [email protected] . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
| | ||
[\fB\-s\fR\ \fIsession-name\fR] | ||
[\fB\-l\fR\ \fItmux-layout\fR] | ||
[\fB\-f\fR\ \fIhost_file\fR] | ||
[\fB\-x\fR] | ||
[\fB\-p\fR] | ||
[\fB\-P\fR] | ||
|
@@ -28,14 +29,18 @@ multiplex/broadcast commands to all split panes / servers (see -a). | |
.PP | ||
Its arguments are as follows: | ||
.TP 8n | ||
\fB\-s\fR | ||
\fB\-s\fR \fB\-session-name\fR | ||
Specify a name for the tmux session. It defaults to 'hostmux' which means that | ||
you can have only one hostmux session at a time if you don't specify unique | ||
names for your sessions | ||
.TP 8n | ||
\fB\-l\fR | ||
\fB\-l\fR \fB\-tmux-layout\fR | ||
Specify a valid tmux layout e.g. even-horizontal, tiled, etc. It defaults to | ||
.TP 8n | ||
\fB\-f\fR \fIhostfile\fR | ||
Specify a file which contains a newline separated list of [user@]host names. The | ||
hosts from the file will be merged with the hosts provided as optional arguments | ||
.TP 8n | ||
\fB\-x\fR | ||
Close the pane and/or session automatically when the ssh session | ||
exits successfully | ||
|
@@ -75,4 +80,3 @@ The \fBhostmux\fR utility exits\~0 on success, and\~>0 if an error occurs. | |
was written by | ||
John-Paul Bader (hukl), | ||
\fI[email protected]\fR. | ||
.sp |