Add automatic-rename-format option allowing automatic rename to use something

other than pane_current_command.
This commit is contained in:
Nicholas Marriott
2013-08-19 22:16:11 +01:00
parent 04288fcd4c
commit 23519fc0b4
5 changed files with 92 additions and 58 deletions

11
tmux.1
View File

@ -2710,8 +2710,8 @@ The default is on.
Control automatic window renaming.
When this setting is enabled,
.Nm
will attempt - on supported platforms - to rename the window to reflect the
command currently running in it.
will rename the window automatically using the format specified by
.Ic automatic-rename-format .
This flag is automatically disabled for an individual window when a name
is specified at creation with
.Ic new-window
@ -2725,6 +2725,13 @@ It may be switched off globally with:
set-window-option -g automatic-rename off
.Ed
.Pp
.It Ic automatic-rename-format Ar format
The format (see
.Sx FORMATS )
used when the
.Ic automatic-rename
option is enabled.
.Pp
.It Ic c0-change-interval Ar interval
.It Ic c0-change-trigger Ar trigger
These two options configure a simple form of rate limiting for a pane.