summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2023-04-25 17:23:32 +0100
commit0ff991b25faf6a88edb356e2ea0ba80151eecb79 (patch)
treef3a67c4118672942bab0d53edf3a6934cae2fbb8 /options-table.c
parent15c70e562c4967a6085ac2296e9f649e1c277fb9 (diff)
Set default lock command to vlock on Linux if present at build time, from Josh
Boyer in GitHub issue 3527.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index d4e7b204..6cb724cc 100644
--- a/options-table.c
+++ b/options-table.c
@@ -530,7 +530,7 @@ const struct options_table_entry options_table[] = {
{ .name = "lock-command",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SESSION,
- .default_str = "lock -np",
+ .default_str = TMUX_LOCK_CMD,
.text = "Shell command to run to lock a client."
},