Kubectl autocompletion in macOS

March 20, 2019

macOS Catalina doesn't support anymore bash and came with zsh, I didn't test this guideline in the macOS Catalina or Big Sur.

macOS comes with a really old bash version. Check the version from the environment variable..


We can install a newer version of bash via Homebrew package manager, get Homebrew from here https://brew.sh.

Read more