Browse docs

Shell Completion

lde ships tab-completion for bash, zsh, and fish. Completions cover commands, flags, and file paths.

Enable completions

Add the generated script to your shell’s rc file:

# bash — add to ~/.bashrc
eval "$(lde completion bash)"

# zsh — add to ~/.zshrc
eval "$(lde completion zsh)"

# fish — add to config.fish
lde completion fish | source

You can also print the script to inspect it:

lde completion bash

What completes