diff options
author | Urban Skudnik <urban.skudnik@gmail.com> | 2018-09-05 03:36:56 +0200 |
---|---|---|
committer | Urban Skudnik <urban.skudnik@gmail.com> | 2018-09-05 03:36:56 +0200 |
commit | e9fe3a334bf0b4509358b9c5d9cc5d9fcd0b6d9c (patch) | |
tree | cdb0a225203ffed7790babf3888fcac44f845244 /pkgs/tools/backup/restic | |
parent | 956790acafd6852e3d7764184a4cb0a73790559c (diff) |
restic: Fix autocomplete for zsh
zsh requires for files to be prepended with underscore to be recognized as widgets, see [1] for more details. [1] https://github.com/NixOS/nixpkgs/pull/46001#issuecomment-418567160
Diffstat (limited to 'pkgs/tools/backup/restic')
-rw-r--r-- | pkgs/tools/backup/restic/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index feb7b4802630b..453e31f5d13ab 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -27,7 +27,7 @@ buildGoPackage rec { cp restic $bin/bin/ $bin/bin/restic generate \ --bash-completion $bin/etc/bash_completion.d/restic.sh \ - --zsh-completion $bin/share/zsh/vendor-completions/restic.sh \ + --zsh-completion $bin/share/zsh/vendor-completions/_restic \ --man $bin/share/man/man1 ''; |