just: use new installShellCompletion style

This commit is contained in:
06kellyjac 2021-02-09 09:54:13 +00:00
parent 648d5623ba
commit e12983cc62

View file

@ -18,9 +18,10 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
installManPage man/just.1
installShellCompletion --bash --name just.bash completions/just.bash
installShellCompletion --fish --name just.fish completions/just.fish
installShellCompletion --zsh --name _just completions/just.zsh
installShellCompletion --cmd just \
--bash completions/just.bash \
--fish completions/just.fish \
--zsh completions/just.zsh
'';
checkInputs = [ coreutils bash ];