Merge pull request #327393 from superherointj/fluxcd-refactor-shell-completion
fluxcd: refactor shell completion
This commit is contained in:
commit
e9771068c8
@ -60,8 +60,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
$out/bin/flux completion $shell > flux.$shell
|
installShellCompletion --cmd flux \
|
||||||
installShellCompletion flux.$shell
|
--$shell <($out/bin/flux completion $shell)
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user