Skip to content

leo completion

Generate a shell completion script for Leo.

Usage

leo completion bash|zsh|fish

Task, process, and template names support tab-completion across the CLI once completions are installed.

Loading Completions

bash:

source <(leo completion bash)

Add to ~/.bashrc to load on every shell.

zsh:

echo 'source <(leo completion zsh)' >> ~/.zshrc

If you see complete:13: command not found: compdef, enable completion first with autoload -U compinit && compinit.

fish:

leo completion fish | source

To persist:

leo completion fish > ~/.config/fish/completions/leo.fish