kube3d: move to new installShellCompletion style
This commit is contained in:
parent
dc506de1fe
commit
feca10b61d
|
@ -23,12 +23,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
# TODO: Move to enhanced installShellCompletion when in master: PR #83630
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
$out/bin/k3d completion bash > k3d.bash
|
installShellCompletion --cmd k3d \
|
||||||
$out/bin/k3d completion fish > k3d.fish
|
--bash <($out/bin/k3d completion bash) \
|
||||||
$out/bin/k3d completion zsh > _k3d
|
--fish <($out/bin/k3d completion fish) \
|
||||||
installShellCompletion k3d.{bash,fish} --zsh _k3d
|
--zsh <($out/bin/k3d completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
Loading…
Reference in a new issue