title: kubectl -bash: _init_completion: command not found
body: <p>Cannot get <code>kubectl</code> bash completion to work on Mac. I installed <code>bash-completion</code> with <code>brew</code> i.e. <code>brew install bash-completion</code> then as per the install notes, added it to the <code>~/.bash_profile</code>:</p>
  
  <p><code>if [ -f $(brew --prefix)/etc/bash_completion ]; then
    . $(brew --prefix)/etc/bash_completion
  fi
  </code></p>
  
  <p>But still getting the error <code>kubectl -bash: _init_completion: command not found</code> after re-sourcing the profile.</p>