Workspace Manager1.xGuides

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

Edit this page on GitHub

Automate workspace operations

tmuxp 1.74.0 · Source

Pass an explicit workspace file, dedicated socket and -d when running tmuxp from a script. --yes answers confirmations; it does not supply every missing choice.

Terminal window
$ tmuxp load -L workspace-guide -d workspace.yaml

Use ls --json to read discovered workspace records:

Terminal window
$ tmuxp ls --json

The output is an object with a workspaces array. Search has different empty output and error behavior; read search and exit codes before building a pipeline.

Use export and reload to capture a session. Review the resulting commands and paths rather than treating capture as a complete backup.

Esc

Type to search.

Reference previewOpen reference