summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-24 09:21:28 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-24 09:21:28 +0000
commit3a4bdea5bf46395fc0b918a49924a70075cc0d14 (patch)
tree7e4591c82413e9c3408744247aea4a85f8625f9e /usr.bin/tmux/options-table.c
parentcf15fcca615e02d194f3917605106b9af95b504c (diff)
Add option command-prefix which is automatically prepended to any
command (apart from a naked default-shell). The default is "exec ".
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r--usr.bin/tmux/options-table.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index ae7efd7f5a3..831b0d01ada 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.33 2013/03/21 16:15:52 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.34 2013/03/24 09:21:27 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -477,7 +477,6 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
-
{ .name = "c0-change-trigger",
.type = OPTIONS_TABLE_NUMBER,
.default_num = 250,
@@ -503,6 +502,11 @@ const struct options_table_entry window_options_table[] = {
.default_num = 1
},
+ { .name = "command-prefix",
+ .type = OPTIONS_TABLE_STRING,
+ .default_str = "exec "
+ },
+
{ .name = "force-height",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 0,