Shell Completion
biwa supports tab completion for bash, zsh, and fish shells. Completion scripts are self-contained and generated by the biwa completion command itself; no additional tools are required.
Setup
We recommend using eval to load completions in your shell configuration. This ensures completions are always up to date with the installed version of biwa.
Bash
Add to ~/.bashrc:
bash
eval "$(biwa completion bash)"Zsh
Add to ~/.zshrc:
zsh
eval "$(biwa completion zsh)"Fish
Add to ~/.config/fish/config.fish:
fish
biwa completion fish | sourceVerify
After restarting your shell (or sourcing the config), try:
bash
biwa [TAB]You should see available subcommands like run, init, completion, etc.
Direct Command Activation
Shell completion is separate from direct command activation. To run allowed remote commands without typing biwa run, see Direct Commands.