Error example:

complete:13: command not found: compdef

For fixing it error, i'm just remove all lines in .zshrc what added after installation yandex console (yc)