The plugin adds command completion support for restic.
To use it:
git clone https://github.com/tk7r/zsh-restic.git ${HOME}/.oh-my-zsh/custom/plugins/restic
Add restic
to the plugins array of your zshrc file:
plugins=(... restic)
The command completion script is a direct download from the official restic repository/doc/zsh-completion.zsh. Packaged for easier consumption by zsh users.