vmware-archive / ktx

manage kubernetes cluster configs
Apache License 2.0
135 stars 24 forks source link

Update ktx-completion.sh to only return files #8

Closed tylerauerbeck closed 6 years ago

tylerauerbeck commented 6 years ago

ktx-completion returns everything underneath the .kube directory, including directories. This change will now only return files that are directly underneath the .kube directory.

tylerauerbeck commented 6 years ago

@chuckha That's a good point as I can see that one line getting a little unwieldy after awhile. Committed the new changes after pulling everything out to a function. Let me know what you think.