Set default lock command to vlock on Linux if present at build time, from Josh

Boyer in GitHub issue 3527.
This commit is contained in:
Nicholas Marriott
2023-04-25 17:23:32 +01:00
parent 15c70e562c
commit 0ff991b25f
4 changed files with 18 additions and 1 deletions

View File

@ -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."
},