Merge pull request #91686 from rycee/cargo-shell-completion

cargo: install bash and zsh completion scripts
This commit is contained in:
Jörg Thalheim
2020-06-27 22:49:01 +01:00
committed by GitHub

View File

@@ -38,6 +38,11 @@ rustPlatform.buildRustPackage {
--set SSL_CERT_FILE "${cacert}/etc/ssl/certs/ca-bundle.crt"
installManPage src/tools/cargo/src/etc/man/*
installShellCompletion --bash --name cargo \
src/tools/cargo/src/etc/cargo.bashcomp.sh
installShellCompletion --zsh src/tools/cargo/src/etc/_cargo
'';
checkPhase = ''