for some reason, zsh runs abnormally in intellij idead.
Open the terminal of Intellij IDEA, prompt
configureCommandHistory:6: command not found: cp
and then enter ls
and other common commands do not exist.
export PATH
finds that the path is different from the value under item2.