iterm2:
:
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?
iterm2:
:
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?
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
Previous: The weex switch component does not support vMurModel. how to solve it?
Next: How to select all, not all, in the latest version of jquery.