From ff781b9ae8cce85479f8c1958e2712bd6c195ae1 Mon Sep 17 00:00:00 2001 From: holyparzival Date: Wed, 5 Jul 2023 22:50:22 +0500 Subject: [PATCH] restic: add fish completions --- pkgs/tools/backup/restic/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index b60ea95302b6..28379107ada7 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -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 '';