Stop Memorizing Flags: Programmable Completion in Zsh with compdef and zstyle
Zsh's programmable completion lets you teach TAB what your internal tools accept. A worked example with compdef, _arguments, and zstyle, plus latency and security trade-offs.