Skip to main content

🐚 leetrs completion

Generates shell autocomplete scripts for bash, zsh, and fish.


Usage​

leetrs completion <SHELL>

Arguments​

ArgumentSupported ValuesDescription
<SHELL>bash, zsh, fishTarget shell environment

Setup Instructions​

Zsh Setup​

Add completion script to your ~/.zshrc:

# Generate and source zsh autocompletion
eval "$(leetrs completion zsh)"

Bash Setup​

Add completion script to your ~/.bashrc:

eval "$(leetrs completion bash)"

Fish Setup​

Save completion script to fish completions directory:

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