Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Generating completion files for various shells

Delta can generate completion files for various shells. Use the --generate-completion subcommand to print the completion script to stdout:

delta --generate-completion <SHELL>

should be replaced with the lowercase name of the shell for which the script is to be generated. Currently bash, elvish, fish, powershell and zsh are supported.

The completion files in etc/completion were also generated with this function and may not be up-to-date.