Shell Completions
The lc completions
command generates shell completion scripts that provide intelligent tab completion for all lc
commands, options, and dynamic values like providers and models.
Overview
Shell completions significantly enhance your productivity by:
- Reducing typing: Tab-complete commands, options, and values
- Preventing errors: See available options before executing
- Discovering features: Explore commands without reading documentation
- Context awareness: Completions adapt based on current command context
- Alias support: All command aliases work seamlessly
Supported Shells
The completion system supports all major shells:
Shell | Status | Installation |
---|---|---|
Zsh | ✅ Full support with rich features | Most advanced |
Bash |