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
1 changed files with 6 additions and 4 deletions
|
@ -22,11 +22,13 @@ buildGoModule rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# TODO: Move to enhanced installShellCompletion when in master: PR #83630
|
||||
postInstall = ''
|
||||
for shell in bash zsh; do
|
||||
$out/bin/k3d completion $shell > k3d.$shell
|
||||
installShellCompletion k3d.$shell
|
||||
done
|
||||
$out/bin/k3d completion bash > k3d.bash
|
||||
$out/bin/k3d completion fish > k3d.fish
|
||||
$out/bin/k3d completion zsh > _k3d
|
||||
installShellCompletion k3d.{bash,fish} --zsh _k3d
|
||||
'';
|
||||
|
||||
vendorSha256 = null;
|
||||
|
|
Loading…
Reference in a new issue