问题描述
在更新oh-my-zsh后提示:
/root/.oh-my-zsh/lib/directories.zsh:32: command not found: compdef
解决方案
rm ~/.zcompdump*
compinit如果提示chmod 命令后缺少参数执行:
compaudit | sudo xargs chmod g-w
compaudit | sudo xargs chown root 在更新oh-my-zsh后提示:
/root/.oh-my-zsh/lib/directories.zsh:32: command not found: compdef
rm ~/.zcompdump*
compinit如果提示chmod 命令后缺少参数执行:
compaudit | sudo xargs chmod g-w
compaudit | sudo xargs chown root 本文链接:https://blog.clang.cn/827.html
版权声明:转载请注明出处。
评论 (0)
评论已关闭