1 Answers
You can customize your prompt in Google Cloud Shell by editing: ~/.bashrc
You can see your current prompt: echo $PS1
Cloud Shell uses, $DEVSHELLPROJECTID for setting the project id in the prompt.
It’s probably not a good idea to change this as when you’re using gcloud commands you won’t be referring to the project name but the project id. So you could use $DEVSHELL_PROJECT_ID in scripts between projects (for example).
What might be better is to create a project with a unique name, then this will also be the project Id. And so the cloud shell prompt will show you what you want.