in Formula/eksctl.rb [17:28]
def install
bin.install "eksctl"
output = Utils.popen_read("#{bin}/eksctl completion bash")
(bash_completion/"eksctl").write output
output = Utils.popen_read("#{bin}/eksctl completion zsh")
(zsh_completion/"_eksctl").write output
end