tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

option tmux3.7c

lock-command

Command to run when locking each client.

Scope
session
Type
Text
Default
lock -np
Set
set-option lock-command value
Read
show-options lock-command

Description

Command to run when locking each client. The default is to run lock(1) with -np.

Releases

Source

Defined in
options-table.c:719
C source reference
options_table
CLI manual
Original manual entry

Used by

Library documentation that names this option.

Raku
LibTmux::Catalogue
Common Lisp
libtmux:lock-client, libtmux:lock-server, libtmux:lock-session
Rust
client.Client.lock, error.Error.ClientSuspended, options.generated.LOCK_COMMAND, server.Server.lock_all, session.Session.lock
Go
tmux.GlobalSessionScope.SetLockCommand, tmux.Session.SetLockCommand, tmux.SessionOptionValues.LockCommand
Esc

Type to search.

Reference previewOpen reference