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

Kubectl completion doesn't work on macOS #206

Open
moicalcob opened this issue Apr 10, 2022 · 2 comments
Open

Kubectl completion doesn't work on macOS #206

moicalcob opened this issue Apr 10, 2022 · 2 comments

Comments

@moicalcob
Copy link

The autocompletion for kubectl is not working on macOS. I've tried some different approaches to configure it, but it's not working 😞

  • Add the autocompletion script directly in .zshrc:

Screenshot 2022-04-10 at 12 45 28

  • Create a file called _kubectl inside the completions folder in the .dotfiles folder with the autocompletion script content
@gtrabanco
Copy link
Contributor

gtrabanco commented Apr 10, 2022

Have you tried to do a dot zsh reload_completions (requires to restart the terminal) after adding?

@moicalcob
Copy link
Author

Yes @gtrabanco! I did dot shell zsh reload_completions and it didn't work

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

2 participants