mold completion¶
Generate shell completion scripts.
Usage¶
mold completion <shell>
Supported shells¶
Bash¶
Add to ~/.bashrc:
eval "$(mold completion bash)"
Then restart your shell or run source ~/.bashrc.
Zsh¶
Add to ~/.zshrc:
eval "$(mold completion zsh)"
Then restart your shell or run source ~/.zshrc.
Fish¶
mold completion fish > ~/.config/fish/completions/mold.fish
Then restart your shell or start a new session.
What gets completed¶
Shell completions work for:
- All commands and subcommands
- Flag names (
--stack,--tools,--kit, etc.) - Flag values (kit names, stack names, tool names)