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

something other than pane_current_command.
This commit is contained in:
nicm
2013-10-10 11:56:50 +00:00
parent 2bf2f5d58e
commit fd1750af49
2 changed files with 28 additions and 35 deletions

View File

@ -482,6 +482,11 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
{ .name = "automatic-rename-format",
.type = OPTIONS_TABLE_STRING,
.default_str = "#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}"
},
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
.default_num = 250,