Ask for help, how can the terminal open under mac be like this? A string of numbers

iterm2:
clipboard.png

:

clipboard.png

this string of numbers is so disgusting that the highlights are gone. I don"t know how those who have cooperated with zsh before have become like this.

this string of numbers is hostname.
how do I switch to whoami@hostname form?

Feb.28,2021

is there no one at the weekend?


hasn't been solved yet?
Why not bring your own? The one that comes with it is no better than this.


this prompt is controlled by the environment variable $PS1 . Use the command echo $PS1 to view the current settings

you can add .bashrc or .zshrc to your configuration file

.
PS1="\u@\H \w$ "
export PS1
Menu