git.iko.soy/typeable/nixpkgs
on master help sign in
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

commite9fe3a334bf0b4509358b9c5d9cc5d9fcd0b6d9c authorUrban Skudnik <urban.skudnik@gmail.com> dateWed 5 Sep 2018, 03:36 (8 years ago) parent956790a
1 file changed+1−1
pkgs/tools/backup/restic/default.nix+1−1
pkgs/tools/backup/restic/default.nix+1−1
@@ -27,7 +27,7 @@ buildGoPackage rec {
2727 cp restic $bin/bin/
2828 $bin/bin/restic generate \
2929 --bash-completion $bin/etc/bash_completion.d/restic.sh \
30− --zsh-completion $bin/share/zsh/vendor-completions/restic.sh \
30+ --zsh-completion $bin/share/zsh/vendor-completions/_restic \
3131 --man $bin/share/man/man1
3232 '';
3333