Merge pull request #241735 from HolyParzival/restic-add-fish-completions

restic: add fish completions
This commit is contained in:
Nick Cao 2023-07-06 20:55:54 +08:00 committed by GitHub
commit b00dc09e77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';