tuna completion
Output shell completion code for the specified shell (bash, zsh, fish, or powershell).
Guide with examples: Autocompletion.
Usage
tuna completion SHELL
Examples
# PowerShell
tuna completion powershell | Out-String | Invoke-Expression
# Zsh
source <(tuna completion zsh)
# Bash
source <(tuna completion bash)
# Fish
tuna completion fish | source
Global flags work too.