Today, I got the error named “_Arguments Xxx:_vim_files Function Definition File Not Found” in my server when I was edit nginx config file.

Then,I search this error on Google.

Reason

Has some old file named ‘.zcompdump’ in directory ‘~/‘.

How to fix

Delete it.Follow this command.

rm -r ~/.zcompdump*

And reload the shell.

exec zsh