restic: add fish completions

This commit is contained in:
holyparzival 2023-07-05 22:50:22 +05:00
parent 7f76939485
commit ff781b9ae8

View file

@ -34,9 +34,10 @@ buildGoModule rec {
'' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
$out/bin/restic generate \
--bash-completion restic.bash \
--fish-completion restic.fish \
--zsh-completion restic.zsh \
--man .
installShellCompletion restic.{bash,zsh}
installShellCompletion restic.{bash,fish,zsh}
installManPage *.1
'';