Skip to content

embabel completion <bash|zsh|fish>

Tab completion, generated from the parser rather than written beside it — a hand-maintained completion script is a list of verbs that quietly stops matching the ones that exist, which is worse than none, because it teaches people the command lacks a verb it has.

Terminal window
source <(embabel completion bash) # ~/.bashrc
embabel completion zsh > "${fpath[1]}/_embabel" # zsh
embabel completion fish > ~/.config/fish/completions/embabel.fish

Verbs, their flags, and positional choices (open console, realms link) all complete. Flags hidden from --help stay hidden here too.