跳到主要内容

Shell Completion Command: completion

bohr completion generates completion scripts for supported shells.

Commands

CommandUsageDescription
bashbohr completion bashGenerate the autocompletion script for the bash shell.
fishbohr completion fish [flags]Generate the autocompletion script for the fish shell.
powershellbohr completion powershell [flags]Generate the autocompletion script for powershell.
zshbohr completion zsh [flags]Generate the autocompletion script for the zsh shell.

For subcommands inside a command group, run bohr completion <group> --help.

Examples

bohr completion bash
bohr completion zsh --no-descriptions
bohr completion fish
bohr completion powershell

The command prints a script to standard output. Installation depends on the shell; add --help after the selected shell command for the current instructions.