kosh completion
Generate the shell autocompletion script for bash, zsh, fish or powershell.
Generate the autocompletion script for the specified shell.
kosh completion [bash|zsh|fish|powershell]Arguments: exactly one — the shell name.
Examples
Section titled “Examples”# zshkosh completion zsh > "${fpath[1]}/_kosh"
# bashkosh completion bash > /etc/bash_completion.d/kosh
# fishkosh completion fish > ~/.config/fish/completions/kosh.fishRun kosh completion <shell> --help for the exact installation steps for your shell — they differ
between systems, and the built-in help is kept current.