不知为什么,zsh在intellij idead中运行异常。
打开Intellij IDEA的终端,提示configureCommandHistory:6: command not found: cp
然后输入ls等常用命令不存在,export PATH发现路径和item2下的值不同。
不知为什么,zsh在intellij idead中运行异常。
打开Intellij IDEA的终端,提示configureCommandHistory:6: command not found: cp
然后输入ls等常用命令不存在,export PATH发现路径和item2下的值不同。
已找到解决方案,做个搬运工
https://stackoverflow.com/que...
最终方案:替换
/Applications/IntelliJ IDEA.app/Contents/plugins/terminal/.zshrc为以下文件: