Commit 7ccf4821 authored by superherointj's avatar superherointj
Browse files

fluxcd: refactor shell completion

parent 78ec604b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ buildGoModule rec {

  postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
    for shell in bash fish zsh; do
      $out/bin/flux completion $shell > flux.$shell
      installShellCompletion flux.$shell
      installShellCompletion --cmd flux \
        --$shell <($out/bin/flux completion $shell)
    done
  '';