sudo chmod -x /usr/local/bin/kubectl-foo # remove execute permission

kubectl plugin list