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

Dynamic Completion not working when installed via snap #59

Open
d-rk opened this issue Aug 7, 2020 · 0 comments
Open

Dynamic Completion not working when installed via snap #59

d-rk opened this issue Aug 7, 2020 · 0 comments

Comments

@d-rk
Copy link
Collaborator

d-rk commented Aug 7, 2020

When kafkactl is installed via snap bash auto-completion is packaged inside the snap and should work out of the box.
Static autocompletion is working but dynamic auto-completion not.

Type e.g.:

kafkactl config use-context <TAB> <TAB>

Debugging the auto-completion shows that it should be working:

kafkactl __complete config use-context ""
default
:4
Completion ended with directive: ShellCompDirectiveNoFileComp

It probably has something to do with prefixing of the binary by snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant