vsc命令行打开失败

vsc启动时terminal报错,提示访问链接: https://code.visualstudio.com/docs/supporting/faq#_resolving-shell-environment-fails

按照提示,注释掉~/.bashrc or ~/.zshrc底下需要长时间操作的操作,例如nvm 重启vsc后正常。