vscode 提示:Unable to resolve your shell environment in a reasonable time.Please review your shell configuration.
在官方文档中,微软建议检查 shell 的启动文件,如~/.bashrc 或~/.zshrc ,有选择地注释掉潜在的长时间运行的操作,例如 nvm 。
但是我的 shell 配置很简单,只有 oh-my-zsh 和几个小插件以及主题,不存在“长时间运行的操作”
GitHub 上有人提了 bug ,但问题已被关闭且并未解决( https://github.com/microsoft/vscode/issues/113869 )
大家遇到过这样的情况吗?如何解决?
在官方文档中,微软建议检查 shell 的启动文件,如~/.bashrc 或~/.zshrc ,有选择地注释掉潜在的长时间运行的操作,例如 nvm 。
但是我的 shell 配置很简单,只有 oh-my-zsh 和几个小插件以及主题,不存在“长时间运行的操作”
GitHub 上有人提了 bug ,但问题已被关闭且并未解决( https://github.com/microsoft/vscode/issues/113869 )
大家遇到过这样的情况吗?如何解决?