In a recent post at BHLLinux website, you can read on PS1 environment variable and where does bash prompt get configured. How you can change the information you see on your bash prompt and so on. You can read the full article by clicking this link.
[1] https://www.bhllinux.com/2020/11/what-is-ps1-in-linux.html