【发布时间】:2021-03-06 18:20:23
【问题描述】:
当我尝试向文件 $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和~/.profile文件到现在都运行良好(它们没有更改)。
标签: google-cloud-platform google-cloud-shell