git-ignore: install shell completions

This commit is contained in:
Brian Leung 2022-05-16 19:51:42 -07:00
parent 91a9c5a9be
commit c1436e20bf
No known key found for this signature in database
GPG key ID: 3ADC75F013D678F9

View file

@ -23,6 +23,8 @@ buildRustPackage rec {
postInstall = ''
installManPage assets/git-ignore.1
# There's also .elv and .ps1 completion files but I don't know where to install those
installShellCompletion assets/git-ignore.{bash,fish} --zsh assets/_git-ignore
'';
meta = with lib; {