alacritty: install shell completions

This commit is contained in:
Robert Schütz 2018-07-07 17:19:23 +02:00
parent e691c8e97c
commit 86d85070ca

View File

@ -92,6 +92,10 @@ in buildRustPackage rec {
patchelf --set-rpath "${stdenv.lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
'') + ''
install -D alacritty-completions.zsh "$out/share/zsh/site-functions/_alacritty"
install -D alacritty-completions.bash "$out/etc/bash_completion.d/alacritty-completions.bash"
install -D alacritty-completions.fish "$out/share/fish/vendor_completions.d/alacritty.fish"
runHook postInstall
'';