zsh报错command not found compdef

安装zsh后报错,解决方案:

1
2
3
$ compaudit | xargs -I '%' chmod g-w,o-w '%'
$ rm ~/.zcompdump*
$ exec zsh
updatedupdated2020-05-252020-05-25