zsh报错:_arguments:451: _vim_files: function definition file not found

安装完zsh以后tab文件提示出现以下错误

_arguments:451: _vim_files: function definition file not found

安装完 zsh和oh-my-zsh后
使用vim编辑文件自动补全会出现错误 _vim_files: function definition file not found

解决方法:

# 删除以.zcompdump-开头的文件
rm -rf ~/.zcompdump-*
exec zsh

原文链接:http://blog.51cto.com/21525/1964295

你可能感兴趣的:(zsh报错:_arguments:451: _vim_files: function definition file not found)