Problem: You get this error `complete:13: command not found: compdef` for a customised zsh profile. I am trying to add kubectl completion for zsh.
Solution: Install the zsh packages below, Save and exit.
Source: https://unix.stackexchange.com/questions/339954/zsh-command-not-found-compinstall-compinit-compdef