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

Shell completion

workspace consumer 0.1.0 · Source

Generate completion using the installed tmux-workspace command. The script matches that executable’s command definitions.

Enable Bash completion

Terminal window
$ tmux-workspace --generate-completion bash > tmux-workspace.bash

Check the generated script before loading it in your current Bash session:

Terminal window
$ bash -n tmux-workspace.bash
Terminal window
source ./tmux-workspace.bash

Keep the script in your shell’s completion directory to load it in later sessions. Regenerate it after upgrading the CLI.

Other shells

--generate-completion also accepts zsh and fish.

Follow the selected shell’s completion setup before sourcing its script. Generating a script does not start tmux or load workspace files.

CLI source.

Esc

Type to search.

Reference previewOpen reference