bhatti completion
Generate a shell completion script.
Synopsis
Section titled “Synopsis”bhatti completion <bash | zsh | fish>
Description
Section titled “Description”Prints the completion script for the requested shell to stdout. Save it to the right place for your shell, restart, and tab-completion is enabled.
Sandbox-name completion uses a local cache (/tmp/bhatti-completions-<uid>), populated by create, destroy, and list. It never hits the network, so completions are instant and work offline. The cache may be slightly stale right after another machine creates a sandbox; running bhatti list refreshes it.
Examples
Section titled “Examples”# System-widebhatti completion bash | sudo tee /etc/bash_completion.d/bhatti > /dev/null
# Or per-user (no sudo)echo 'source <(bhatti completion bash)' >> ~/.bashrcbhatti completion zsh > "${fpath[1]}/_bhatti"# Or simplerecho 'source <(bhatti completion zsh)' >> ~/.zshrcbhatti completion fish > ~/.config/fish/completions/bhatti.fishOptions
Section titled “Options”This command takes no flags besides the positional shell argument.
See also
Section titled “See also”bhatti setup—setupdetects your shell and prints the right snippet automatically.