Generate shell completions.

Synopsis

izwi completions <SHELL>

Description

Generates shell completion scripts for tab-completion of Izwi commands.

Arguments

ArgumentDescription
<SHELL>Shell type: bash, zsh, fish, powershell, elvish

Installation

Bash

izwi completions bash > ~/.local/share/bash-completion/completions/izwi
Or add to .bashrc:
eval "$(izwi completions bash)"

Zsh

izwi completions zsh > ~/.zfunc/_izwi
Ensure ~/.zfunc is in your fpath. Add to .zshrc:
fpath=(~/.zfunc $fpath)
autoload -Uz compinit && compinit

Fish

izwi completions fish > ~/.config/fish/completions/izwi.fish

PowerShell

izwi completions powershell >> $PROFILE

Elvish

izwi completions elvish > ~/.elvish/lib/izwi.elv

Usage

After installation, restart your shell or source your config file. Then use Tab to complete:
izwi <TAB>
izwi serve --<TAB>
izwi pull qwen3-<TAB>

See Also