Shell Completion
Shell command line completions are provided for bash, fish, and zsh.
To load the command completions in shell, use:
# bash
eval "$(resticprofile generate --bash-completion)"
# fish
resticprofile generate --fish-completion | source
# zsh
eval "$(resticprofile generate --zsh-completion)"To install them permanently:
resticprofile generate --bash-completion > /etc/bash_completion.d/resticprofile
chmod +x /etc/bash_completion.d/resticprofile
resticprofile generate --fish-completion > /etc/fish/completions/resticprofile.fish
chmod +x /etc/fish/completions/resticprofile.fish