
Now, after restarting the terminal you will be able to use the kubectl autocomplete with the TAB button. usr/local/share/bash-completion/bash_completion

Kubectl completion bash > ~/.kube/kubectl_autocompletion Set to the installed shell to the current user.


# It will not work with versions /etc/shells

If you try to follow the steps in the k8s docs for a MaOS environment you will see that it will not work as expected.
