just: use new installShellCompletion style

This commit is contained in:
06kellyjac 2021-02-09 09:54:13 +00:00
parent 648d5623ba
commit e12983cc62
1 changed files with 4 additions and 3 deletions

View File

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