【CloudShell のシェルプロンプトが [cloudshell-user@ip-xx-xx-xx-xx ~]$ から ~ $ に変わっていたので調べてみた】

プロンプトが ~ $ になっている原因は、~/.bashrc で PS1 の設定が export PS1='\W $ ' に変わったからのようです。

https://dev.classmethod.jp/articles/cloudshell-shell-prompt-was-changed-20250216/

Reply to this note

Please Login to reply.

Discussion

No replies yet.