Shell completions
koban generates shell completion scripts straight from the binary with the completions command:
sh
koban completions bash
koban completions zsh
koban completions fish
koban completions nushell
koban completions elvish
koban completions powershellSupported shells: bash, zsh, fish, nushell, elvish, and powershell.
Installing completions
Each command prints the completion script to stdout. Redirect it to the location your shell expects. For example:
sh
koban completions bash | sudo tee /etc/bash_completion.d/koban > /dev/nullsh
koban completions zsh > "${fpath[1]}/_koban"sh
koban completions fish > ~/.config/fish/completions/koban.fishReload your shell (or source your profile) afterward to pick up the new completions.