Search workspaces
LibTmux.Workspace 0.0.0-alpha.20 · 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¶
$ tmux-workspace search \ --json \ --fixed-strings \ --field session \ workspaceRepeat --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.