Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"k0sctl completion bash" is not work. #295

Closed
chattytak opened this issue Jan 13, 2022 · 2 comments · Fixed by #298
Closed

"k0sctl completion bash" is not work. #295

chattytak opened this issue Jan 13, 2022 · 2 comments · Fixed by #298
Labels
bug Something isn't working

Comments

@chattytak
Copy link

k0sctl completion bash > /etc/bash_completion.d/k0sctl

k0sctl -bash: completion: function `_cli_bash_autocomplete' not found

Completion not working.

@kke kke added the bug Something isn't working label Jan 14, 2022
@kke
Copy link
Contributor

kke commented Jan 14, 2022

So it seems. Looks like the function name in the generated output is wrong.

@kke
Copy link
Contributor

kke commented Jan 14, 2022

The shell is supplied via -s or --shell, so the correct command would be k0sctl completion -s bash but it doesn't solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants