Shell completion
libtmux-workspace 0.1.2-SNAPSHOT · Source
Generate completion using the installed tmux-workspace command. The script
matches that executable’s command definitions.
Enable Bash completion¶
$ tmux-workspace --generate bash > tmux-workspace.bashCheck the generated script before loading it in your current Bash session:
$ bash -n tmux-workspace.bashsource ./tmux-workspace.bashKeep the script in your shell’s completion directory to load it in later sessions. Regenerate it after upgrading the CLI.
Other shells¶
The CLI provides Bash completion.
Follow the selected shell’s completion setup before sourcing its script. Generating a script does not start tmux or load workspace files.