6 shell vim zsh autocomplete oh-my-zsh
当我尝试自动完成文件时(使用 vim 作为参数 0):
vim ~/.conf <TAB>
Run Code Online (Sandbox Code Playgroud)
表明:
_arguments:450: _vim_files: function definition file not found
_arguments:450: _vim_files: function definition file not found
_arguments:450: _vim_files: function definition file not found
Run Code Online (Sandbox Code Playgroud)
之前还好好的!
其他命令:
cat ~/.conf <TAB>
Run Code Online (Sandbox Code Playgroud)
给:
cat ~/.config/
Run Code Online (Sandbox Code Playgroud)
为什么zsh失败仅在vim?