forked from mirrors/nixpkgs
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
This commit is contained in:
parent
956790acaf
commit
e9fe3a334b
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue