Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Shell completion

Edit this page on GitHub

LibTmux.Workspace 0.0.0-alpha.14 · Source

tmuxp compatibility reference. Examples using tmuxp run the Python reference. Local CLI status describes this port’s implemented coverage.

tmuxp uses the separately installed shtab package for experimental completion. The parser entry point is tmuxp.cli.create_parser. Generate a script in an environment that can import both packages, then use the shell-specific installation procedure from the upstream completion guide.

Native completionLink to section

System.CommandLine defines the native command graph. --generate reference exports its metadata; --generate man, bash, zsh, and fish render the other formats. The completion scripts offer command and option names without full argument context. Spectre.Console owns human presentation separately.

Completion is derived from actual command metadata. It must include nested import commands, local short flags, positional arity, mutually exclusive choices, and all-command machine options. Verify generated scripts with the installed executable and target shell.

See the command tree and compatibility reference.

tmuxp reference source.

Esc

Type to search.