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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38444-2c0df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38444-2c0df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?