Shell Completion
Enable tab completion for bash, zsh, and fish shells.
Install Completion
The command appends the appropriate completion setup to your shell profile. Restart your shell or source that profile after installation.
Current Shell Session
To enable Bash completion only for the current session:
For zsh or fish, use the --install command above.
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.