Google Cloud shell .customize_environment 文件中的错误

问题描述

当我尝试向文件 $HOME/.customize_environment 添加一个空脚本时,该文件只包含

#!/bin/sh

没有任何其他代码,我得到错误

Your Cloud Shell session closed before the initial prompt was displayed,which can mean that there is a problem with your ~/.bashrc file or ~/.tmux.conf file.

我必须删除这个文件才能启动 shell。

解决方法

这两天,我也遇到了登录的问题(上面报了同样的消息),通过重命名.customize_environment解决了这些问题

我想在他们修复它之前我没有它。