Skip to content

Commit

Permalink
argcomplete: fix auto-generated shell-completions in postInstall
Browse files Browse the repository at this point in the history
  • Loading branch information
SebTM committed Mar 16, 2024
1 parent f86a93a commit 5577804
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ python3.pkgs.buildPythonApplication {
postInstall = lib.optionalString withAutocomplete ''
for cmd in nix-review nixpkgs-review; do
installShellCompletion --cmd $cmd \
--bash <(register-python-argcomplete $out/bin/$cmd) \
--fish <(register-python-argcomplete $out/bin/$cmd -s fish) \
--zsh <(register-python-argcomplete $out/bin/$cmd -s zsh)
--bash <(register-python-argcomplete $cmd) \
--fish <(register-python-argcomplete $cmd -s fish) \
--zsh <(register-python-argcomplete $cmd -s zsh)
done
'';

Expand Down

0 comments on commit 5577804

Please sign in to comment.