dotly icon indicating copy to clipboard operation
dotly copied to clipboard

Kubectl completion doesn't work on macOS

Open moicalcob opened this issue 2 years ago • 2 comments

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

moicalcob avatar Apr 10 '22 10:04 moicalcob

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

gtrabanco avatar Apr 10 '22 15:04 gtrabanco

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

moicalcob avatar Apr 10 '22 15:04 moicalcob