xetys / hetzner-kube

A CLI tool for provisioning kubernetes clusters on Hetzner Cloud
Apache License 2.0
743 stars 117 forks source link

Shell completion creates empty log file #300

Closed AndiDog closed 4 years ago

AndiDog commented 4 years ago

With v0.5.1:

$ cd /tmp && rm -rf /tmp/boom && mkdir /tmp/boom && cd /tmp/boom && hetzner-kube completion bash >/dev/null && ls -lh
total 0
-rw-r--r--  1 asommer  wheel     0B Dec  5 12:40 hetzner.log

I'm including the completion from bashrc, so whenever I split my terminal, the current working directory gets an empty hetzner.log file.

xetys commented 4 years ago

this is indirect because of #20

xetys commented 4 years ago

closed by 49203d500aed94a449061c532c28820b9dddabca