Merge pull request #43143 from dotlambda/alacritty-completions

alacritty: install shell completions
This commit is contained in:
Silvan Mosberger 2018-07-08 02:38:50 +02:00 committed by GitHub
commit 784f543cb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
'';