summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2013-10-10 11:56:50 +0000
committernicm <nicm>2013-10-10 11:56:50 +0000
commitfd1750af490f837405eb688ed82b3f8b18d29e26 (patch)
treec6846d489cf795cf1fc3e9a298c9da03f6e7767d /options-table.c
parent2bf2f5d58ee060068e915873a191a1d0d6e5c18f (diff)
Add automatic-rename-format option allowing automatic rename to use
something other than pane_current_command.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index a62d38b2..22913854 100644
--- a/options-table.c
+++ b/options-table.c
@@ -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,