Skip to content

Commit

Permalink
restic: Fix autocomplete for zsh
Browse files Browse the repository at this point in the history
zsh requires for files to be prepended with underscore to be
recognized as widgets, see [1] for more details.

[1] #46001 (comment)
  • Loading branch information
uskudnik committed Sep 5, 2018
1 parent 956790a commit e9fe3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/backup/restic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';

Expand Down

0 comments on commit e9fe3a3

Please sign in to comment.