Set up shell completion
setup & auth
// what it does
Generates a completion script for bash, zsh, fish, or PowerShell so database names, subcommands, and flags tab-complete. With ~20 command families, completion pays for itself immediately.
// shell
$ pscale completion zsh > "${fpath[1]}/_pscale"$ pscale completion bash > /usr/local/etc/bash_completion.d/pscale// gotcha
For zsh, compinit must run after the completion file is in your fpath — if completions don't appear, move the eval line below your compinit call in ~/.zshrc.