Shell Completion
Install Completion
Section titled “Install Completion”dg completion bash --install
dg completion zsh --install
dg completion fish --installThe command appends the appropriate completion setup to your shell profile. Restart your shell or source that profile after installation.
Current Shell Session
Section titled “Current Shell Session”To enable Bash completion only for the current session:
eval "$(_DG_COMPLETE=bash_source dg)"For zsh or fish, use the --install command above.
What Gets Completed
Section titled “What Gets Completed”- Commands:
dg listen,dg speak,dg read, etc. - Options: command options such as
--micand--model, and root options such as-o - File paths after
dg listen
The installed setup evaluates completion support from the current dg command, so it automatically reflects a CLI update.