Workspace ManagerconceptCLI Manual

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

Search workspaces

@libtmux/workspace 0.1.0-alpha.12 · Source

Search the fields of discovered workspace documents. Use literal matching when the input should be treated as text rather than a regular expression.

Find a session name

Terminal window
$ tmux-workspace search \
--json \
--fixed-strings \
--field session \
workspace

Repeat --field to restrict additional fields. Query terms combine with AND; --any selects OR. --ignore-case, --smart-case, --word-regexp, and --invert-match control matching. Inspect the installed search --help for supported field names and aliases.

Check both the exit status and machine result. An empty successful search and a failed pattern are different outcomes.

CLI source.

Esc

Type to search.

Reference previewOpen reference