Skip to content

Commit

Permalink
nix: use dynamic completions in installPhase
Browse files Browse the repository at this point in the history
Have been used in nixpkgs since the update to 0.24
  • Loading branch information
bryceberger committed Jan 2, 2025
1 parent 602b79f commit 2281450
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
installManPage ./jj.1
installShellCompletion --cmd jj \
--bash <($out/bin/jj util completion bash) \
--fish <($out/bin/jj util completion fish) \
--zsh <($out/bin/jj util completion zsh)
--bash <(COMPLETE=bash $out/bin/jj) \
--fish <(COMPLETE=fish $out/bin/jj) \
--zsh <(COMPLETE=zsh $out/bin/jj)
'';

meta = {
Expand Down

0 comments on commit 2281450

Please sign in to comment.