mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
kube3d: add completion for fish
fish completion was added in 3.0.2 https://github.com/rancher/k3d/releases/tag/v3.0.2
This commit is contained in:
parent
6c40c0ace8
commit
4c812da8e5
|
@ -22,11 +22,13 @@ buildGoModule rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
# TODO: Move to enhanced installShellCompletion when in master: PR #83630
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for shell in bash zsh; do
|
$out/bin/k3d completion bash > k3d.bash
|
||||||
$out/bin/k3d completion $shell > k3d.$shell
|
$out/bin/k3d completion fish > k3d.fish
|
||||||
installShellCompletion k3d.$shell
|
$out/bin/k3d completion zsh > _k3d
|
||||||
done
|
installShellCompletion k3d.{bash,fish} --zsh _k3d
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
Loading…
Reference in a new issue