lol

Merge pull request #168472 from SuperSandro2000/atuin

atuin: simplify completion generation

authored by

Sandro and committed by
GitHub
482ee5dd 33ff9681

+3 -8
+3 -8
pkgs/tools/misc/atuin/default.nix
··· 26 26 buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ]; 27 27 28 28 postInstall = '' 29 - HOME=$(mktemp -d) 30 - for shell in bash fish zsh; do 31 - $out/bin/atuin gen-completions -s $shell -o . 32 - done 33 - 34 29 installShellCompletion --cmd atuin \ 35 - --bash atuin.bash \ 36 - --fish atuin.fish \ 37 - --zsh _atuin 30 + --bash <($out/bin/atuin gen-completions -s bash) \ 31 + --fish <($out/bin/atuin gen-completions -s fish) \ 32 + --zsh <($out/bin/atuin gen-completions -s zsh) 38 33 ''; 39 34 40 35 meta = with lib; {